junit5
junit5 copied to clipboard
Add Kotlin contracts to exposed Kotlin API
Overview
Resolves #1866.
Introduced assertNull
, assertNotNull
and assertInstanceOf
methods.
Introduced contracts for assertNull
, assertNotNull
, assertThrows
and assertDoesNotThrow
methods
I hereby agree to the terms of the JUnit Contributor License Agreement.
Definition of Done
- [x] There are no TODOs left in the code
- [x] Method preconditions are checked and documented in the method's Javadoc
- [x] Coding conventions (e.g. for logging) have been followed
- [x] Change is covered by automated tests including corner cases, errors, and exception handling
- [x] Public API has Javadoc and
@API
annotations - [x] Change is documented in the User Guide and Release Notes
Is there anything else that should be added/adjusted? Otherwise, I'd say the pr is in its final form
What do you think about the pr, @marcphilipp, @JLLeitschuh?
Hi. I believe the change is still relevant and the pr is ready to be reviewed.
We'll consider it for 5.11, just need to find some time to review.