© The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature 2022
L. Jungmann et al.Pro Jakarta Persistence in Jakarta EE 10https://doi.org/10.1007/978-1-4842-7443-9_15

15. Testing

Lukas Jungmann1  , Mike Keith2, Merrick Schincariol3 and Massimo Nardone4
(1)
Prague, Czech Republic
(2)
Ottawa, ON, Canada
(3)
Almonte, ON, Canada
(4)
HELSINKI, Finland
 

One of the major selling points of Jakarta Persistence has been the drive toward better testability. The use of plain Java classes and the ability to use persistence outside of the application server has made enterprise applications much easier to test. This chapter covers unit testing and integration testing with entities, with a mix of modern and traditional test techniques.

Testing ...

Get Pro Jakarta Persistence in Jakarta EE 10: An In-Depth Guide to Persistence in Enterprise Java Development 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.