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. ...
Get Java Persistence with Hibernate 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.