Skip to content
This repository has been archived by the owner on Jan 23, 2023. It is now read-only.

Latest commit

 

History

History
31 lines (21 loc) · 809 Bytes

tests_from_junit.md

File metadata and controls

31 lines (21 loc) · 809 Bytes

☑️ tests_from_junit

Performing analysis on a test report file? Get the failing and passing tests using this action.

tests from junit

Example

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]}")

Parameters

Parameter Description Default Value
junit The junit xml report file from which to collect the tests to suppress