Skip to content

1.0.26

Compare
Choose a tag to compare
@seongahjo seongahjo released this 26 Sep 08:56
· 34 commits to main since this release

🐒 New Features

You can generate Korean only by using MonkeyStringArbitrary as below.

FixtureMonkey sut = FixtureMonkey.builder()
  .plugin(
          new JqwikPlugin()
	          .javaTypeArbitraryGenerator(new JavaTypeArbitraryGenerator() {
		          @Override
		          public StringArbitrary strings() {
			          return new MonkeyStringArbitrary().korean();
		          }
	          })
        )
  .build();

🧪 Experimental Features

It can be changed. This is an experimental feature.

  • Add PriorityConstructorArbitraryIntrospector #1054

It is a powerful ArbitraryIntrospector that generates an instance of a type by its constructor. It will not fail if your type has a constructor. By default, it uses the first constructor of the type.

You can use it with FailoverIntrospector if you want to use the perfect Fixture Monkey that can generate all types.

Check out the documentation!