The demo project for demonstrating TestNG features.
- Java 9
- Gradle
- TestNG
NOTE: if you want to use older versions of java, update DbConnection.authenticate
method (replace Map.of
)
Add Soft Assert Add the tests to the positive and negative groups. Create 3 suite files: for positive, negative and all tests Add a Data Provider for negative checks. Configure parallel execution of tests. Add setup methods. Add rerun of failed tests. Parameterize suite selection with Gradle.
The demo project for demonstrating TestNG features.
NOTE: if you want to use older versions of java, update DbConnection.authenticate
method (replace Map.of
)
Add Soft Assert Add the tests to the positive and negative groups. Create 3 suite files: for positive, negative and all tests Add a Data Provider for negative checks. Configure parallel execution of tests. Add setup methods. Add rerun of failed tests. Parameterize suite selection with Gradle.