Using Gradle 1.7 and TestNG 6.0.1.
My build.gradle is simple (listed below). When I have a failing test I receive the message:
There were failing tests. See the report at: file:///[…]/build/reports/tests/index.html
However, that report states “0 tests” and “0 failures”.
I am new to both Gradle and TestNG.
build.gradle:
apply plugin: ‘java’
repositories {
mavenCentral() }
test {
useTestNG() }
dependencies {
testCompile group: ‘org.testng’, name: ‘testng’, version: ‘6.0.1’ }