When I write Java-projects that produce web pages, I test on several levels. First, I use Jetty and WebDriver to test the result via http. (WebDriver even lets me test JavaScript!) But for speed and ...
Learn how to write and validate unit tests with JUnit 5. This article shows you how to configure a Maven project for JUnit, write basic and parameterized unit tests, and use JUnit 5’s built-in ...