-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Spec::JUnitFormatter enhancements (#8599)
* Forward arguments to formatter finish method * Report elapsed time in Spec::JUnitFormatter * Report number of pending specs (as “disabled”) in Spec::JUnitFormatter * Output errored class name as an “error[type]” attribute * Remove redundant `begin … end` * Output hostname for testsuite in Spec::JUnitFormatter * Move `#chomp` call to the helper * Output timestamp for testsuite in Spec::JUnitFormatter * Correctly report pending testcases as “skipped” * Strip current working directory from reported “testcase[classname]” attribute * Remove timestamp attribute mocking in specs since it ain’t test anything rly * Add specs for Spec::JUnitFormatter#classname * Consistently use “skipped” * Use .total_seconds for moar clarity * Escape control characters for “testcase[name]” * Add `—junit_output_path` for more granular control of the junit output location * Change `—junit_output` to take full path to the junit xml file * Properly mock `Spec::JUnitFormatter#started_at`
- Loading branch information
Showing
9 changed files
with
142 additions
and
56 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.