Module: XCPretty::Printer::Matchers
- Included in:
- XCPretty::Printer
- Defined in:
- lib/xcpretty/printer.rb
Constant Summary collapse
- TESTS_RUN_START_MATCHER =
$1 = suite $2 = time
/Test Suite '(?:.*\/)?(.*[ox]ctest.*)' started at(.*)/- TESTS_RUN_COMPLETION_MATCHER =
$1 = suite $2 = time
/Test Suite '(?:.*\/)?(.*[ox]ctest.*)' finished at(.*)/- PASSING_TEST_MATCHER =
$1 = test_case $2 = time
/Test Case\s'-\[.*\s(.*)\]'\spassed\s\((\d*\.\d{3})\sseconds\)/- FAILING_TEST_MATCHER =
$1 = file $2 = test_suite $3 = test_case $4 = reason
/(.+:\d+):\serror:\s[\+\-]\[(.*)\s(.*)\]\s:(?:\s'.*'\s\[FAILED\],)?\s(.*)/- TEST_SUITE_START_MATCHER =
$1 test suite name
/Test Suite '(.*)' started at/- EXECUTED_MATCHER =
/^Executed/