assertj-assertions-generator icon indicating copy to clipboard operation
assertj-assertions-generator copied to clipboard

Custom assertions generator

Results 68 assertj-assertions-generator issues
Sort by recently updated
recently updated
newest added

This is not an issue, but a discussion as I've run into a bit of a road-block in my work. Currently, the generator is configurable via changing the template values...

I think that it would be nice addition if we validate the variables in a template when a user adds them. This will help the users to see if they...

Is it possible to support Java 8 Optional feature for the generator? Sample model class: ``` java public class Person { private String name; public Person(String name) { this.name =...

Java 8

It'd be helpful if generated methods included an `@see` to the member the value was generated from. ## Example ### Given ```java class Foo { public int getBar() { return...

Once this PR is merged and issue fixed https://github.com/joel-costigliola/assertj-assertions-generator/issues/67 along with the NavigationListAssert class in assertj-core: https://github.com/joel-costigliola/assertj-core/issues/641 it would be easy to switch the OOTB templates in the generator to...

I think it would be a nice addition if the generated `XXXAssertions` use imports for types. Of course if there are 2 types from different packages then one of them...

It would be good if we could generate an interface that extends org.assertj.core.api.WithAssertions and contained default methods for all the custom assertions, so that static imports are not required.

Java 8

For example, a user wants to generate more assertions for String properties. If String property is `name`, we only generate `hasName`, if we are able to register a template for...