Releases: naver/fixture-monkey
Releases · naver/fixture-monkey
1.1.3
🐞 Bug Fixes
- Fix generating empty String with
@Size
annotation by @seongahjo in #1090
📔 Documentation
- Fix 'How to use Kotlin ArbitraryBuilder APIs' in 1.1.x migration guide by @HanJaehee in #1089
Full Changelog: 1.1.2...1.1.3
1.0.29
🐞 Bug Fixes
- Fix generating empty String with
@Size
annotation by @seongahjo in #1092
Full Changelog: 1.0.28...1.0.29
1.1.2
🐞 Bug Fixes
- Fix setting recursive implementations of self reference object by @seongahjo in #1086
- Fix a bug in registering JavaBuilder and KotlinBuilder by @seongahjo in #1087
Full Changelog: 1.1.1...1.1.2
1.1.1
🐒 New Features
- Add a missing giveMeJavaBuilder with an object parameter by @seongahjo in #1080
🐞 Bug Fixes
- Fix set a recursive object by @seongahjo in #1079
Full Changelog: 1.1.0...1.1.1
1.1.0
🐒 New Features
- By default,
KotlinPlugin
is now only used for the Kotlin type, and does not change theobjectIntrospector
Java type option. - By default, the properties generated by the
PrimaryConstructorArbitraryIntrospector
are parameters of the constructor. - All interface related options migrate to the
InterfacePlugin
. - The Java ArbitraryBuilder APIs and the Kotlin ArbitraryBuilder APIs are now separated.
- The experimental API
customizeProperty
is now available in theArbitraryBuilder
API. - The experimental
javaGetter
is converted to maintained. - Upgrade Kotest version 5.9.1
Please check out the migration guide
1.0.28
🐒 New Features
- Add base methods of Object to proxy object of interface by @acktsap in #1067
- Add enableLoggingFail option for failed introspect to FixtureMonkeyOptions by @HanJaehee in #1069
- Add support javaGetter for is prefix boolean property by @seongahjo in #1072
Full Changelog: 1.0.27...1.0.28
1.1.0-RC2
🐒 New Features
- By default,
KotlinPlugin
is now only used for the Kotlin type, and does not change theobjectIntrospector
Java type option. - By default, the properties generated by the
PrimaryConstructorArbitraryIntrospector
are parameters of the constructor. - All interface related options migrate to the
InterfacePlugin
. - The Java ArbitraryBuilder APIs and the Kotlin ArbitraryBuilder APIs are now separated.
- The experimental API
customizeProperty
is now available in theArbitraryBuilder
API.
Add missing commits
1.1.0-RC1
🐒 New Features
- By default,
KotlinPlugin
is now only used for the Kotlin type, and does not change theobjectIntrospector
Java type option. - By default, the properties generated by the
PrimaryConstructorArbitraryIntrospector
are parameters of the constructor. - All interface related options migrate to the
InterfacePlugin
. - The Java ArbitraryBuilder APIs and the Kotlin ArbitraryBuilder APIs are now separated.
- The experimental API
customizeProperty
is now available in theArbitraryBuilder
API.
See the migration guide for more details.
1.0.27
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!