HTTPS SSH

JUnit5-Koans

Java Testing Koans to understand how to write unit tests with JUnit 5.

Dependencies

Additional exercises cover junit-jupiter-params, Hamcrest and AssertJ.

Assignment

  • Run tests with mvnw test or gradlew test.
  • You should see some test failures and errors (but there are no assertions).
  • Go through the test code starting from Session 1:
    • All assertions are commented and incomplete.
    • Uncomment the assertions and complete them making the tests pass.
    • You can run individual sessions using mvnw test -Dtest=*1*

License

New BSD License, see license.txt in repository.