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

Recommend order attribute for TestWatcher and tidy up tests #1501

Merged
merged 2 commits into from
Mar 8, 2018

Conversation

stefanbirkner
Copy link
Contributor

@stefanbirkner stefanbirkner commented Feb 10, 2018

  • Recommend to always set order for TestWatcher .
  • Make it easier to understand TestWatcher's behavior based on the tests.
  • Improve expressiveness of the test.
  • Add missing tests.

@stefanbirkner stefanbirkner force-pushed the test-watcher branch 6 times, most recently from 9cacd0b to 715a445 Compare February 10, 2018 20:08
@stefanbirkner stefanbirkner changed the title Tidy up tests for TestWatcher Recommend order attribute for TestWatcher and tidy up tests Feb 13, 2018
@stefanbirkner stefanbirkner force-pushed the test-watcher branch 3 times, most recently from 022cc8e to bf2cc6f Compare February 17, 2018 14:30
@marcphilipp marcphilipp added this to the 4.13 milestone Mar 7, 2018
- Make it easier to understand TestWatcher's behavior based on the tests.
- Improve expressiveness of the test.
- Add missing tests.
TestWatcher may see failed tests as successful and vice versa if it is
not the outermost rule and another rule changes the result of a test
(e.g. ErrorCollector or ExpectedException).

Fixes junit-team#1436.
@stefanbirkner stefanbirkner merged commit cf13399 into junit-team:master Mar 8, 2018
@stefanbirkner stefanbirkner deleted the test-watcher branch March 8, 2018 09:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants