1.0.26
🐒 New Features
- Add
korean
method in MonkeyStringArbitrary. #1056 @currenjin
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!