This blog post describes how we can write our first test class with JUnit 5. After we have finished this blog post, we: Can create test classes with JUnit 5. Know how we can use setup and teardown methods. Understand how we can write simple test methods with JUnit 5. Let's start by creating our […] Read More
Programming / Testing
JUnit 5 Tutorial: Running Unit Tests With Gradle
This blog post describes how we can create a Gradle project that can compile and run unit tests which use JUnit 5. After we have finished this blog post, we: Can get the required dependencies with Gradle Understand how we can use the Gradle's native JUnit 5 support. Can run our unit tests with Gradle. […] Read More
JUnit 5 Tutorial: Running Unit Tests With Maven
This blog post describes how we can create a Maven project that can compile and run unit tests which use JUnit 5. After we have finished this blog post, we: Can get the required dependencies with Maven. Understand how we can configure the Maven Surefire Plugin. Know how we can run our unit tests with […] Read More
Running TestProject OpenSDK Tests With Github Actions
The previous parts of my TestProject OpenSDK tutorial described how you can write tests for web applications by using both TestProject OpenSDK and JUnit 5. However, the problem is that automated tests aren't very useful if they aren't run on a regular basis. This blog post describes how you can solve this problem by using […] Read More
Sharing Code With Multiple TestProject OpenSDK Tests
After you have written a few test methods which use the TestProject OpenSDK, the odds are that you notice that your test methods contain duplicate code. This blog post describes how you can eliminate duplicate code from your test suite. After you have read this blog post, you: Understand why you should reuse test code. […] Read More
Generating Selenium Test Reports With TestProject OpenSDK
After you have written tests which use the TestProject OpenSDK and JUnit 5, you most likely want to run them. When you run your tests, the TestProject platform generates test reports which are published on the reporting dashboard. This blog post provides an introduction to the test reports which are generated by the TestProject platform […] Read More