Skip to content
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

Fix container failure XML reporting #2542

Merged
merged 3 commits into from Feb 1, 2021

Commits on Jan 31, 2021

  1. Always include leaf nodes to ensure failures are reported

    Prior to this commit, failing containers were only reported in case they
    contained at least one test. However, for example for a parameterized
    Jupiter tests and an exception in a `@BeforeAll` method, that led to
    failures being silently swallowed. Now, in addition to tests, leaf
    nodes of the test tree are always included in the XML report, even if
    they are containers, not tests.
    
    Fixes #2537.
    marcphilipp committed Jan 31, 2021
    Copy the full SHA
    bb00d66 View commit details
    Browse the repository at this point in the history
  2. Report container failures occurring after test execution

    Prior to this commit, failures on the container level that occur after
    their children have been executed were not reported, e.g. when an
    exception was thrown from a Jupiter `@AfterAll` method. Now such
    failures cause the contained tests to be reported as failed.
    marcphilipp committed Jan 31, 2021
    Copy the full SHA
    221686e View commit details
    Browse the repository at this point in the history

Commits on Feb 1, 2021

  1. Copy the full SHA
    582af11 View commit details
    Browse the repository at this point in the history