Summary
In this chapter, you rounded out your knowledge of core unit testing concepts with a few (mostly unrelated) topics that look at bigger concerns surrounding unit testing:
-
Code coverage, a concept that can help you learn where your unit testing is deficient
-
Testing multithreaded code, a tricky and sophisticated challenge
-
Integration tests, which verify code and its interaction with external dependencies that might be out of your control
Now that you’ve worked through foundational concepts regarding unit testing, you’ll take a deeper look into the preferred tool for Java unit testing, JUnit. The next three chapters will explore JUnit in-depth, providing useful insights and nuggets on how to best take advantage of its wealth of features. ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access