assertj / assertj/assertj-assertions-generator-maven-plugin
Add option to make the generated SoftAssertions implement AutoCloseable
Open
- Dominant language
- Java
- Stars
- 30
- Forks
- 27
- PR merge metrics
- No merged PRs in 30d
Description
Would be nice to add an option to make the generated SoftAssertions implement AutoCloseable, like so:
```java
public class SoftAssertions extends org.assertj.core.api.SoftAssertions implements AutoCloseable {
@Override
public void close() {
assertAll();
}
}
```
Contributor guide
Assessment
This issue has not been assessed yet.