Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Java Unit Testing in Java What to Test To Test or Not To Test

praveen gudimetla
praveen gudimetla
464 Points

A good method of making sure that your test is isolated is to employ a test

i have not found correct answer to this question in video? i am not very clear on question as well. please elaborate on it?

2 Answers

Check back the video at 2:20, the next few sentences give away the answer to the question. If you still don't know, look at the hint at the bottom of the question and then listen again from 2:20.

praveen gudimetla
praveen gudimetla
464 Points

thank you. I hear test doubles.

i found more reading here https://dzone.com/articles/test-doubles-mockito