assertj-assertions-generator
assertj-assertions-generator copied to clipboard
Custom assertions generator
The rule for identifying getters has been modified to support record-like getters (#212). Now, any method that takes no parameters and returns a type other than void is considered a...
```java public class Foo { @GenerateAssertion public String get(){ return "foo"; } } ``` The code generated Assert class without parameter name ```java public S has(String ) { // blank...
Bumps [ch.qos.logback:logback-classic](https://github.com/qos-ch/logback) from 1.2.3 to 1.5.8. Commits 92e1a5e prepare release 1.5.8 76d8dd8 Update README.md, comment out CI action results d7e0d59 Merge branch 'master' of github.com:qos-ch/logback fe3bf9d os.name property is expected...
Bumps the maven group with 2 updates in the / directory: [junit:junit](https://github.com/junit-team/junit4) and [ch.qos.logback:logback-classic](https://github.com/qos-ch/logback). Updates `junit:junit` from 4.11 to 4.13.1 Release notes Sourced from junit:junit's releases. JUnit 4.13.1 Please refer...
Bumps [org.assertj:assertj-parent-pom](https://github.com/assertj/assertj-maven-parent-pom) from 2.2.14 to 2.2.18. Commits 87a8cc6 [maven-release-plugin] prepare release assertj-parent-pom-2.2.18 edaddfb Move Jacoco rules to the configuration section for better extensibility b109faa Fix license header ded4cd5 Bump maven-enforcer-plugin...
We would like to write something like: ```java @Data class SomeClass { String id; OtherClass someField; } @Data class OtherClass { String value; } @Test void test() { SomeClass someObject...
We would like to write something like this: ```java List result; assertThat(result).singleElement().hasName("Fool") ``` Now, we can generate `FooAssert` with the generator, but the `ListAssert` we get out of `assertThat` in...
The `assertj` prefix in the artifact name provides little value since the group ID already focuses on AssertJ, so we could rename the project and the artifact name to `assertions-generator`....