Releases: naver/fixture-monkey
Releases · naver/fixture-monkey
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.
0.6.10
0.6.9
0.6.9
- Fix
sampleList
always returns a same element withAnonymousArbitraryIntrospector
. - Remove
CombinableArbitrary.from(Arbitrary)
. UseArbitraryUtils.toCombinableArbitrary
instead. - Refactor
CombinableArbitrary.from
has a type parameter instead of wildcard type. - Fix generating self reference map type with different key type.
- Refactor
setPostCondition
does not cause any performance issue. - Fix generating a unique key of
Map
. - Add new option
javaConstraintGenerator
which defines a constraint ofString
, Decimal type, Integer type, DateTime type, Container type.