Testing, Testing, Testing: Creating JUnit Tests

Thorough testing is one of the most important things that you can do as a developer. In a well-organized development project, there are several types of testing. There is the obvious functional testing that tests how well the application does the tasks that it is supposed to perform (based on system requirements, of course). Performance testing is another common type of testing, where we measure the application's response time and ability to handle higher user loads. Unit testing is yet another type of testing, one that is often underutilized. This involves writing tests for individual classes ...

Get Wicked Cool Java now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.