assertj / assertj/assertj-assertions-generator-maven-plugin

Add option to make the generated SoftAssertions implement AutoCloseable

Open
#51 2 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.