Skip to content

Flank should not skip tests annotated with @Ignored#648

Merged
pawelpasterz merged 2 commits into
masterfrom
ignored-test-included-in-results
Mar 5, 2020
Merged

Flank should not skip tests annotated with @Ignored#648
pawelpasterz merged 2 commits into
masterfrom
ignored-test-included-in-results

Conversation

@pawelpasterz
Copy link
Copy Markdown
Contributor

@pawelpasterz pawelpasterz commented Mar 3, 2020

Fixes #629

Changes

  • tests annotated with @Ignore are included in test matrix by default (TL skips them anyway)
  • user still can filter tests with @Ignore with notAnnotation org.junit.Ignore
  • Ignored tests now have time = 0 (regardless previous results)
  • update and refactor unit tests

Checklist

  • Documented
  • Unit tested

@bootstraponline
Copy link
Copy Markdown
Contributor

If we know a test is ignored, we probably want to assign it a runtime of 0 when packing shards by time.

@pawelpasterz
Copy link
Copy Markdown
Contributor Author

If we know a test is ignored, we probably want to assign it a runtime of 0 when packing shards by time.

Nice catch! Thanks for pointing this out

@codecov-io
Copy link
Copy Markdown

Codecov Report

❗ No coverage uploaded for pull request base (master@4102e5e). Click here to learn what that means.
The diff coverage is 88.23%.

Impacted file tree graph

@@            Coverage Diff            @@
##             master     #648   +/-   ##
=========================================
  Coverage          ?   77.53%           
  Complexity        ?      633           
=========================================
  Files             ?       86           
  Lines             ?     2520           
  Branches          ?      323           
=========================================
  Hits              ?     1954           
  Misses            ?      360           
  Partials          ?      206

@pawelpasterz pawelpasterz merged commit fc31d55 into master Mar 5, 2020
@pawelpasterz pawelpasterz deleted the ignored-test-included-in-results branch March 5, 2020 13:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature request] Include tests marked with @org.junit.Ignore in JUnitReport.xml

4 participants