UCSB CS48
Resources
Topics
Java Topics
JavaScript Topics
Patterns
Standards
S20
S20
W20
W19
Hwk
Lab
Teams
Lectures
Exam
Cal
More
Syllabus
Info Pages
Office Hours
Staff
Links
Gauchospace
GradeScope
Piazza
Github
ucsb-cs48-s20
Hwk
Lab
Teams
Lectures
Exam
Cal
More
Syllabus
Info Pages
Office Hours
Staff
Links
Gauchospace
GradeScope
Piazza
Github
ucsb-cs48-w20
Hwk
Lab
Teams
Lectures
Exam
Cal
More
Syllabus
Info Pages
Office Hours
Staff
Links
Gauchospace
GradeScope
Piazza
Github
ucsb-cs48-w19
JUnit: Mocking System.out
How do you write a JUnit test for a method that uses System.out?
https://www.dontpanicblog.co.uk/2017/05/12/test-system-out-with-junit/
https://stackoverflow.com/questions/1119385/junit-test-for-system-out-println
github site
edit this page on github