How to set 'configfailurepolicy=continue' for testng i'm using gradle to run the tests.
i tried
gradle clean test -Dgroups=abc -Dconfigurefailurepolicy=continue
which didn't work I don't want the test cases to be failing after beforeClass method fails.
相关问题
- Delete Messages from a Topic in Apache Kafka
- Jackson Deserialization not calling deserialize on
- How to maintain order of key-value in DataFrame sa
- StackExchange API - Deserialize Date in JSON Respo
- Difference between Types.INTEGER and Types.NULL in
If that's a system property then set it in the test:
You can define it in your
test
task:but this property is available only in Gradle version 2.3+ http://gradle.org/docs/2.3/groovydoc/org/gradle/api/tasks/testing/testng/TestNGOptions.html https://issues.gradle.org/browse/GRADLE-3149
If you don't have newest version you can generate wrapper with task: