I'd like to use TestnNG's SoftAssert type of assertion for getting some warnings.
After test, in results are values eg:
Tests run: 2, Failures: 2, Errors: 0, Skipped: 0
Can I get the result for failed SoftAssert as Errors or Skipped tests? Of course, I'd like to have Failures for failed HardAsserts (regular Asserts), too. So, after change the report for 1 HardAssert and 1 SoftAssert will have something like this:
Tests run: 2, Failures: 1, Errors: 1, Skipped: 0
or
Tests run: 2, Failures: 1, Errors: 0, Skipped: 1