testng
testng copied to clipboard
Feature request: Add new `fail` config failure policy
TestNG Version
LATEST
Problem
Can't to fail fast CI build right after configuration method failure.
Maven Surefire has option skipAfterFailureCount
. It allows us to fail E2E tests build after first test method failure. So we can investigate issue in relevant stand state. But we can't achieve the same for configuration method failures.
Solution
Add new fail
config failure policy. So all test methods in test class would be failed and CI build would be failed asap too.