16.5. Testing
Testing is probably the single most important activity in which a Java developer engages during a day of work. Testing determines the correctness of the system from a functional standpoint as well as from a performance and scalability perspective. Successfully executing tests means that all application components and layers interact correctly and work together smoothly and as specified.
You can test and proof a software system many different ways. In the context of persistence and data management, you're naturally most interested in automated tests. In the following sections, you create many kinds of tests that you can run repeatedly to check the correct behavior of your application.
First we look at different categories of tests. ...
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