Fixture Monkey Versions Save

Let Fixture Monkey generate test instances including edge cases automatically

1.0.16

2 weeks ago

๐Ÿž Bug Fixes

  • Fix register working on assignable type. #971

๐Ÿงช Experimental Features

  • Add resolve the candidate concrete type of container type. #969
    • Using new option pushExactTypePropertyCandidateResolver.
    • The default PropertyCandidateResolvers cannot be overridden by 1.0.16.
    • If you want to override, use the candidateConcretePropertyResolvers option in Plugin. For example, by default List resolves to ArrayList , Set resolves to HashSet.

1.0.15

1 month ago

๐Ÿ’ New Features

  • Add ConcreteTypeDefinition in ArbitraryProperty, deprecate getChildPropertiesByResolvedProperty and getChildPropertyListsByCandidateProperty which is added in 1.0.14. #944
  • Add a new Kotlin Exp expression for referencing root. ex. set(String::root, "expected") #922
  • Add an ArbitraryIntrospector KotlinAndJavaCompositeArbitraryIntrospector to to assist in the creation of Kotlin classes that reference Java classes. #948 @jinia91

๐Ÿž Bug Fixes

  • Fix setting a child of a concrete type to an abstract type. #960

1.0.14

2 months ago

๐Ÿ’ New Features

  • Add supporting value class with the private constructor. #911 @msugo1
  • Add supporting for sealed class and sealed interface in JDK17. #921

โš ๏ธ Deprecated

  • Deprecate nullInject and childPropertyListsByCandidateProperty properties in ObjectNode. They would be moved to ArbitraryProperty. #932

1.0.13

3 months ago

๐Ÿ’ New Features

  • Change regular expression generation library to RgxGen. #870
  • Add InterfacePlugin supports abstract class by abstractClassExtends option. #892

๐Ÿž Bug Fixes

  • Fix setLazy with value wrapped by Just would not be manipulated. #900
  • Fix missing required PropertyGenerator within introspectors. #908

1.0.12

3 months ago

๐Ÿž Bug Fixes

  • Fix generating an object with the value class property. #887

1.0.11

3 months ago

๐Ÿž Bug Fixes

  • Fix mutation of a generated object by FieldReflectionArbitrarytIntrospector, BeanArbitraryIntrospector. #882

1.0.10

3 months ago

๐Ÿ’ New Features

  • Add handling when using an ArbitraryIntrospector that does not match the property type. Add a log entry if the property is of a container type, and throw an exception if the property is of a concrete type. #877
  • Refactor does not throw exception when it cannot generate, the next ArbitraryIntrospector will be used. #879
  • Add better support Kotest by modifying giveMeArb more Kotlin-like, by adding setArb API. #880

๐Ÿž Bug Fixes

  • Fix setting object field by any other type. #876

1.0.9

3 months ago

๐Ÿ’ New Features

  • Add customizing Wildcard type in an option #869

๐Ÿž Bug Fixes

  • Fix the addExceptGenerateClass to be unaffected by the specific ArbitraryIntrospector used #866

๐Ÿงช Experimental Features

  • Add customizeProperty API in ArbitraryBuilder to customize generated value #843

1.0.8

4 months ago

๐Ÿ’ New Features

  • Improve the error message with specific details about the failed type when generation fails #854

๐Ÿž Bug Fixes

  • Fix setting child type when generating parent type #857

1.0.7

4 months ago

๐Ÿž Bug Fixes

  • Fix the fixture-monkey-kotlin module to be compatible with JDK 8. #852