mirror of
https://github.com/ysoftdevs/gradle-training.git
synced 2026-03-24 01:52:07 +01:00
add example how to run TestNG test with Gradle on Groovy code
This commit is contained in:
11
README.md
11
README.md
@@ -171,3 +171,14 @@ It is possible to stop build by throwing exception.
|
||||
|
||||
gradle workingTask
|
||||
gradle failingTask
|
||||
|
||||
|
||||
## 17-testng-groovy
|
||||
|
||||
Example combines usage of TestNG for testing and tests written in Groovy.
|
||||
It is necessary to declare 'useTestNG()' in test configuration.
|
||||
Otherwise tests won't be executed.
|
||||
|
||||
gradle test
|
||||
|
||||
Reports are stored in build/reports/tests/index.html
|
||||
|
||||
Reference in New Issue
Block a user