fixture-monkey

Let Fixture Monkey generate test instances including edge cases automatically

APACHE-2.0 License

Stars
432

Bot releases are visible (Hide)

fixture-monkey - 0.5.2

Published by seongahjo over 1 year ago

0.5.2

  • Fix performance issue since 0.5.0.
  • Apply the implementation's option when generating interface.
fixture-monkey - 0.5.1

Published by seongahjo over 1 year ago

0.5.1

  • Add set just value not decomposed value.
    • set(expression, Values.Just(value))
  • Fix setPostCondition with primitive type.
  • Fix type erasure generating ConstructorProperty.
fixture-monkey - 0.5.0

Published by seongahjo over 1 year ago

0.5.0

Breaking changes

  • Refactor register
    • As-is
      • set an sampled instance of registered ArbitrayBuilder
    • To-be
      • An ArbitraryBuilder has all manipulations registered ArbitraryBuilder has
  • Remove a manipulation priority
    • As-is
      • size has a highest priority among all manipulations
    • To-be
      • All manipulations have same priority, they are executed in declared order
  • Remove defaultArbitraryContainerInfo, defaultArbitrayContainerSize options, add defaultArbitraryContainerInfoGenerator option

New Features

  • Add an NOT_NULL instance
    • set("expression", NOT_NULL) == setNotNull("expression")
  • Add more failed log for set when value type is different
    • Add parent property type in a log if exists
fixture-monkey - 0.4.14

Published by seongahjo over 1 year ago

0.4.14

  • Fix generating fields in child class with generic
fixture-monkey - 0.4.13

Published by seongahjo over 1 year ago

0.4.13

  • Fix generating AnnotatedWildcard type
    • ex. Map<String, List<? extends String>>
  • Fix size root with InnerSpec
fixture-monkey - 0.4.12

Published by seongahjo over 1 year ago

0.4.12

  • Add supporting complex generic types
  • Add a condition to not include control characters when creating String values @doljae
fixture-monkey - 0.4.11

Published by seongahjo almost 2 years ago

0.4.11

  • Add set a List of concrete classes inherits an abstract class
  • Add generating an abstract circular-reference object
fixture-monkey - 0.4.10

Published by seongahjo almost 2 years ago

0.4.10

  • Add fixture-monkey-jakarta-validation module
  • Add generate interface with multiple implementations
fixture-monkey - 0.4.9

Published by seongahjo almost 2 years ago

0.4.9

  • Add generating a circular-reference object
fixture-monkey - 0.4.8

Published by seongahjo almost 2 years ago

0.4.8

  • Add set compatible for ExpressionSpec
  • Add noArgsConstructor compatible for ConstructorPropertiesIntrospector
  • Deprecate FactoryMethodArbitraryIntrospector
  • Fix PropertyDescriptorProperty not generating only getter or setter
  • Add more innerSpec support methods
fixture-monkey - 0.4.7

Published by seongahjo almost 2 years ago

0.4.7

  • Add a simple option for generating concrete class with interface
fixture-monkey - 0.4.6

Published by seongahjo almost 2 years ago

0.4.6

  • Fix set interface as value
  • Fix generate a unique nested Set or Map element
  • Fix innerSpec manipulations not generate entry
fixture-monkey - 0.4.5

Published by seongahjo almost 2 years ago

0.4.5

Fix nested map generates entry uniquely

@esfomeado Thank you for finding an issue

fixture-monkey - 0.4.4

Published by seongahjo almost 2 years ago

0.4.4

  • EnumMap or EnumSet size which generated by FixtureMonkey would not exceed enum size if no size manipulation (#487 )
fixture-monkey - 0.4.3

Published by seongahjo almost 2 years ago

0.4.3

LabMonkey

  • Fix not generating over number type’s min value and max value
  • No generic container is now could be generated by LabMonkey
  • JsonNode is now could be generated by LabMonkey
  • Fix not working when adding @Pattern and @NotBlank
  • Add fixture-monkey-starter-kotlin module
  • Refactor generating unique element in Map, Set for better performance
  • Fix not getting parent’s fields in Kotlin plugin

FixtureMonkey

  • Fix propertyNameResolver not working when changing generator
fixture-monkey - 0.4.2

Published by seongahjo almost 2 years ago

0.4.2

  • Adding ConstructorPropertiesArbitraryIntrospector
  • Adding FactoryMethodIntrospector
  • Fix nullableContainer option
  • Adding setInner, setLazy Exp

0.4.1

  • Fix parent type registered setNull not works if child type is registered
  • Fix not generating Java type such as, BigDecimal, UUID
  • Fix not generating Java type if adding KotlinPlugin

0.4.0

  • Adding Exp
  • Adding setInner for manipulating Map
  • Altering all of options
fixture-monkey - 0.3.5

Published by seongahjo over 2 years ago

What's Changed

  • Fix NullPointerException when using IterableSpec any()
  • Fix returns null when fixed after setNull root 0.3.0

Full Changelog: https://github.com/naver/fixture-monkey/compare/0.3.4...0.3.5

fixture-monkey - 0.3.4

Published by seongahjo over 2 years ago

What's Changed

  • Fix Arbitrary generation fail when using a class without package (for JDK 8)
  • Add a method to set value lazily with lambda which determines value when sample() is called

Full Changelog: https://github.com/naver/fixture-monkey/compare/0.3.3...0.3.4

fixture-monkey - 0.3.3

Published by seongahjo over 2 years ago

What's Changed

  • Refactor wildcard to generic type for removing warning
  • Fix OOM when annotated size without max

Full Changelog: https://github.com/naver/fixture-monkey/compare/0.3.2...0.3.3

fixture-monkey - 0.3.2

Published by seongahjo almost 3 years ago

What's Changed

  • Add Set ExpressionSpec
  • Add Queue Builder for generating Container Queue

Full Changelog: https://github.com/naver/fixture-monkey/compare/0.3.1...0.3.2