-
Notifications
You must be signed in to change notification settings - Fork 104
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Report no results as error #144
Report no results as error #144
Commits on Oct 4, 2020
-
Overrides suiteNameTemplate once for entire report
because the template configuration applies to the entire report
Configuration menu - View commit details
-
Copy full SHA for d678eee - Browse repository at this point
Copy the full SHA d678eeeView commit details -
Clones options at beginning of suite loop
to prevent potential setting overrides from spilling over to other suites.
Configuration menu - View commit details
-
Copy full SHA for 648ac6d - Browse repository at this point
Copy the full SHA 648ac6dView commit details -
Reports test suites with no results as error
- adds `reportNoResultsAsError` configuration parameter. Default is false - when top level test result (suite) has no children, a stub suite is added with a single test with `error` status. The exception is displayed at test level. - any potential suite or title templates are overridden in order to guarantee that the file path is displayed. Since besides the `testExecError`, this is the only information we have.
Configuration menu - View commit details
-
Copy full SHA for 6ca58b7 - Browse repository at this point
Copy the full SHA 6ca58b7View commit details -
Configuration menu - View commit details
-
Copy full SHA for c2deeee - Browse repository at this point
Copy the full SHA c2deeeeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5b6e527 - Browse repository at this point
Copy the full SHA 5b6e527View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4f5d754 - Browse repository at this point
Copy the full SHA 4f5d754View commit details -
Ensures class name is set when suite fails to run
and the file path is used as suite title.
Configuration menu - View commit details
-
Copy full SHA for f4c9f26 - Browse repository at this point
Copy the full SHA f4c9f26View commit details -
Renames error reporting flag to
reportTestSuiteErrors
and explains in the README that file path will be used as suite name in these cases
Configuration menu - View commit details
-
Copy full SHA for 733240d - Browse repository at this point
Copy the full SHA 733240dView commit details -
Assigns jsonResults to global variable
so that the validity of the resulting xml can be verified
Configuration menu - View commit details
-
Copy full SHA for 66e8789 - Browse repository at this point
Copy the full SHA 66e8789View commit details -
Adds example of empty suite Jest output
to ensure that it is handled as suite error
Configuration menu - View commit details
-
Copy full SHA for 6931e54 - Browse repository at this point
Copy the full SHA 6931e54View commit details -
Makes sure suite failure message is always reported
because `suite.testExecError` is a varying complex type and the information is also reflected in `suite.failureMessage` anyway.
Configuration menu - View commit details
-
Copy full SHA for 7af55a7 - Browse repository at this point
Copy the full SHA 7af55a7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2d1d722 - Browse repository at this point
Copy the full SHA 2d1d722View commit details