March 2015
Intermediate to advanced
236 pages
5h 26m
English
In this chapter you learned enough to start writing tests with JUnit. However, writing good unit tests takes a little more discipline than slapping some asserts around your code. Also, JUnit provides a number of fun little features that we didn’t touch on in this example.
In the next chapter you’ll learn more about the various types of JUnit assertions that you can use to help verify expected conditions in your tests.
Read now
Unlock full access