Added failWhenEverythingSkipped command line option
This commit is contained in:
parent
a84a6fe9e2
commit
1fb81b4156
2 changed files with 17 additions and 0 deletions
|
@ -162,6 +162,14 @@ public class TestNgOperation extends AbstractProcessOperation<TestNgOperation> {
|
|||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Should TestNG fail execution if all tests were skipped and nothing was run.
|
||||
*/
|
||||
public TestNgOperation failWhenEverythingSkipped(Boolean isFailAllSkipped) {
|
||||
options.put("-failwheneverythingskipped", String.valueOf(isFailAllSkipped));
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Whether TestNG should continue to execute the remaining tests in the suite or skip them if in a {@code @Before*}
|
||||
* method.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue