Performing analysis on a test report file? Get the failing and passing tests using this action.
UI.important(
'example: ' \
'get the failed and passing tests from the junit test report file'
)
result = tests_from_junit(junit: './spec/fixtures/junit.xml')
UI.message("Passing tests: #{result[:passing]}")
UI.message("Failed tests: #{result[:failed]}")
Parameter | Description | Default Value |
---|---|---|
junit | The junit xml report file from which to collect the tests to suppress |