Releases: naver/fixture-monkey
Releases · naver/fixture-monkey
1.0.6
🐒 New Features
- Fixture Monkey now infers properties when generating a type using a specific
ArbitraryIntrospector
that requires certain types of properties #846- Refer to the comment in
ArbitraryGenerator#getRequiredPropertyGenerator
- Refer to the comment in
- Support generating an instance of a Kotlin type with a private constructor #848 - @jinia91
- Introduce
InterfacePlugin
featuring detailed interface options #845interfaceImplements
optionuseAnonymousArbitraryIntrospector
option.
⚠️ Deprecated
- The
interfaceImplements
option inFixtureMonkeyBuilder
is now deprecated. It will be moved inInterfacePlugin
#845
1.0.5
1.0.4
1.0.3
🐒 New Features
- Introduce a new option
pushJavaConstraintGeneratorCustomizer
to customize theJavaConstraintGenerator
option #830 - Parallel execution is now supported with the
jqwik
engine #826
🐞 Bug Fixes
- Fix the generation of decimal values, ensuring a minimum of 0, with the kotest-property engine #829
1.0.2
1.0.1
1.0.0
0.6.13
0.6.12
0.6.12
- Fix setting
Just
in setLazy. - Fix a bug in
validOnly
operation in ArbitraryBuilder. - Fix a bug in
addContainerType
,addDecomposedContainerValueFactory
option, which is not working for an implementation of option type. - Remove
jqwik-kotlin
dependency in fixture-monkey-kotlin module. - Deprecate
FixtureMonkeyOptions
dependency inObjectPropertyGeneratorContext
,ContainerPropertyGeneratorContext
. - Add
addDecomposedContainerValueFactory
option. - Add
giveMeExperimentalBuilder
for experimental features.
Experimental Feature
- Add a new ArbitraryBuilder operation
instantiate
,instantiateBy
for Kotlin, which specifies how to instantiate a given type.- Providing a static method
constructor()
for specifying that it instantiates a given type by constructor - Providing a static method
factoryMethod()
for specifying that it instantiates a given type by factory method - Providing a static method
field()
,javaBeansProperty()
that subsequently sets a property for bothconstructor()
,factoryMethod()
- Providing a static method
0.6.11
0.6.11
- Add kotest module. Using it as a runtime of generating primitive types.
- Add supporting a custom validator in
Javax
,Jakarta
Bean Validation. - Add
PropertySelecotr
as a super type ofExpressionGenerator
to abstract how to reference a property. - Fix a bug in
size
Map inthenApply
operation. - Add option to resolve a seed for deterministic re-runs.
- Fix
set
a nested self reference object.