3rd Edition. — Manning Publications, 2020. — 562 p. — ISBN: 9781617297045.
JUnit in Action, Third Edition is a fully revised guide to unit testing Java applications with the latest version of JUnit. It’s full of hands-on techniques for solving real-world testing problems, such as using mocks for testing isolation, automating your testing, and test-driven development. You’ll also get to grips with more than just testing tools, thanks author Cătălin Tudose’s testing strategy pyramid, which lays out how to break your testing down into different layers — from unit testing right through to system and acceptance testing. Practical examples demonstrate each new JUnit 5 feature, such as new architecture, as well as nested tests, tagged tests, dynamic tests, and dependency injection. With full coverage of migrating your JUnit 4 applications to JUnit 5, and integrating JUnit with other build tools and continuous integration tools, JUnit in Action sets you on the path to bug-free code.