Let Fixture Monkey generate test instances including edge cases automatically
APACHE-2.0 License
Bot releases are hidden (Show)
Published by seongahjo 12 months ago
Just
in setLazy.validOnly
operation in ArbitraryBuilder.addContainerType
, addDecomposedContainerValueFactory
option, which is not working for an implementation of option type.jqwik-kotlin
dependency in fixture-monkey-kotlin module.FixtureMonkeyOptions
dependency in ObjectPropertyGeneratorContext
, ContainerPropertyGeneratorContext
.addDecomposedContainerValueFactory
option.giveMeExperimentalBuilder
for experimental features.instantiate
, instantiateBy
for Kotlin, which specifies how to instantiate a given type.
constructor()
for specifying that it instantiates a given type by constructorfactoryMethod()
for specifying that it instantiates a given type by factory methodfield()
, javaBeansProperty()
that subsequently sets a property for both constructor()
, factoryMethod()
Published by seongahjo about 1 year ago
Javax
, Jakarta
Bean Validation.PropertySelecotr
as a super type of ExpressionGenerator
to abstract how to reference a property.size
Map in thenApply
operation.set
a nested self reference object.Published by seongahjo about 1 year ago
Published by seongahjo about 1 year ago
sampleList
always returns a same element with AnonymousArbitraryIntrospector
.CombinableArbitrary.from(Arbitrary)
. Use ArbitraryUtils.toCombinableArbitrary
instead.CombinableArbitrary.from
has a type parameter instead of wildcard type.setPostCondition
does not cause any performance issue.Map
.javaConstraintGenerator
which defines a constraint of String
, Decimal type, Integer type, DateTime type, Container type.Published by seongahjo about 1 year ago
DefaultDecomposedContainerValueFactory
supports Map.Entry
PrimaryConstructorArbitraryIntrospector
Published by seongahjo about 1 year ago
List<Property> generateChildProperties(AnnotatedType annotatedType)
in PropertyGenerator interface, it will be removed in 0.7.0List<Property> generateChildProperties(Property property)
in PropertyGenerator interfacePublished by seongahjo about 1 year ago
FieldReflectionArbitraryIntrospector
FixtureMonkeyBuilder
.Published by seongahjo about 1 year ago
Published by seongahjo about 1 year ago
final
property if using FieldReflectionArbitraryIntrospector
Published by seongahjo about 1 year ago
ZoneId
apply
method to thenApply
. apply
is deprecated and would be removed in 0.7.0
JavaTypeArbitraryGeneratorSet
, JavaTimeArbitraryGeneratorSet
interfaces for generating Java supported primitive types.javaTypeArbitraryGeneratorSet
, javaTimeArbitraryGeneratorSet
options.javaTypeArbitraryGenerator
, javaArbitraryResolver
,javaTimeTypeArbitraryGenerator
, javaTimeArbitraryResolver
options.List<List<ComplexObject>>
, Map<String, List<ComplexObject>>
Published by seongahjo over 1 year ago
CombinableArbitrary
could generate a unique object.defaultArbitraryGenerator
option for extending CombinableArbitrary
functionality.defaultArbitraryGenerator
plugin option .arbitraryGenerators
option.Published by seongahjo over 1 year ago
Published by seongahjo over 1 year ago
fixed
performance, reduces execution time by half.Jqwik
dependency in combining an object or a container with CombinableArbitrary
interface.FailoverIntrospector
, which generates an object using two or more ArbitraryIntrospector
s.FixtureMonkeyOptions
from GenerateOptions
.Pair
, Triple
in Kotlin module.fixture-monkey-jakarta-validation
module as a default module in fixture-monkey-starter
.fixture-monkey-jakarta-validation
and fixture-monkey-javax-validation
All deprecated class in 0.5.x would be removed.
FixtureCustomizer
ManipulateOptions
IteratorCache
, LruCache
, StreamCache
in api/collection
PropertyCache
PropertyGenerator
in api/generator
DefaultPropertyGenerator
in api/generator
KotlinPropertyGenerator
in api/generator
CompositeArbitraryValidator
and DefaultArbitraryValidator
EntryIntrospector
Published by seongahjo over 1 year ago
IteratorCache
, LruCache
, StreamCache
move from api/collection
to api/container
for consistency.DecomposedContainerValueFactory
moves to api
module and be a part of GenerateOptions
option.Published by seongahjo over 1 year ago
PropertyCache
Published by seongahjo over 1 year ago
@JsonSubTypes
and @JsonTypeInfo
annotations.BuilderGroup
. @chanhyeongKotlinPropertyGenerator
could resolve a Java Property .JacksonObjectArbitraryIntrospector
only generates a field, setter/getter, constructor property same as Jackson
's default setting.getValue
error.CLASS
annotations in DefaultNullInjectGenerator
@jbl428Published by seongahjo over 1 year ago
Published by seongahjo over 1 year ago
Published by seongahjo over 1 year ago
@JsonTypeInfo
, @JsonSubTypes
InnerSpec
methods for setting multiple map entries by one simple method
Published by seongahjo over 1 year ago
@JsonTypeInfo
and @JsonSubTypes
in Jackson module.PropertyGenerator
, it helps to specify which properties are going to use.