Deprecate rule ExpectedException (#1519)

The method Assert.assertThrows provides a nicer way for verifying
exceptions. In addition the use of ExpectedException is error-prone
when used with other rules like TestWatcher because the order of rules
is important in that case.
1 file changed
tree: f820188e06debec29513cb85d0cf8afe65d8736c
  1. .mvn/
  2. .settings/
  3. doc/
  4. lib/
  5. src/
  6. .classpath
  7. .gitattributes
  8. .gitignore
  9. .project
  10. .travis.yml
  11. acknowledgements.txt
  12. BUILDING
  13. CODING_STYLE.txt
  14. CONTRIBUTING.md
  15. epl-v10.html
  16. LEGACY_CODING_STYLE.txt
  17. LICENSE-junit.txt
  18. mvnw
  19. mvnw.cmd
  20. NOTICE.txt
  21. pom.xml
  22. README.md
  23. to-do.txt
README.md

JUnit 4

JUnit is a simple framework to write repeatable tests. It is an instance of the xUnit architecture for unit testing frameworks.

For more information, please visit:

Latest Build Status

Built on DEV@cloud