diff --git a/index.min.42f4ff1a1d086557a07eb8906875d4d5a4b1b34177d9387571d39a57d9ecdac44fd54982b422f9c8ac52ce66af0eb3927223317b08896df3cbb9a067784b91f5.js b/index.min.6c466f64e416d347e7444ba7c66982233a4f4b69a58e174b8cfd39fd50acdebaf5ae3f3e63ba0b855b5716cfc8de7b65ea75158ee0034ad834df602bbfdb427c.js similarity index 99% rename from index.min.42f4ff1a1d086557a07eb8906875d4d5a4b1b34177d9387571d39a57d9ecdac44fd54982b422f9c8ac52ce66af0eb3927223317b08896df3cbb9a067784b91f5.js rename to index.min.6c466f64e416d347e7444ba7c66982233a4f4b69a58e174b8cfd39fd50acdebaf5ae3f3e63ba0b855b5716cfc8de7b65ea75158ee0034ad834df602bbfdb427c.js index 5e701a9d4..98eca6180 100644 --- a/index.min.42f4ff1a1d086557a07eb8906875d4d5a4b1b34177d9387571d39a57d9ecdac44fd54982b422f9c8ac52ce66af0eb3927223317b08896df3cbb9a067784b91f5.js +++ b/index.min.6c466f64e416d347e7444ba7c66982233a4f4b69a58e174b8cfd39fd50acdebaf5ae3f3e63ba0b855b5716cfc8de7b65ea75158ee0034ad834df602bbfdb427c.js @@ -29,7 +29,7 @@ The project required thorough testing of complex business requirements, and with For Kotlin environments, you can use fixture-monkey-starter-kotlin Gradle # Add junit-platform-launcher as a runtime dependency. The dependency is optional below Gradle 9, but it will be mandatory from Gradle 9 onwards. 📔 Gradle Offical Documentation ⚠️ Issue -testRuntimeOnly("org.junit.platform:junit-platform-launcher:{version}") testImplementation("com.navercorp.fixturemonkey:fixture-monkey-starter:1.1.0") Maven # <dependency> <groupId>com.navercorp.fixturemonkey</groupId> <artifactId>fixture-monkey-starter</artifactId> <version>1.1.0</version> <scope>test</scope> </dependency> Third party library support # Dependency Description fixture-monkey-jackson Jackson support fixture-monkey-jakarta-validation Jakarta validation support fixture-monkey-javax-validation Javax validation support fixture-monkey-mockito Mockito support fixture-monkey-autoparams Autoparams support `}),e.add({id:5,href:"/v1-1-0/docs/get-started/creating-test-objects/",title:"Creating test objects",description:` Fixture Monkey works in both Java and Kotlin. We have a separate ‘Getting Started’ page for each environment you can use: Java, Java without Lombok, and Kotlin. +testRuntimeOnly("org.junit.platform:junit-platform-launcher:{version}") testImplementation("com.navercorp.fixturemonkey:fixture-monkey-starter:1.1.1") Maven # <dependency> <groupId>com.navercorp.fixturemonkey</groupId> <artifactId>fixture-monkey-starter</artifactId> <version>1.1.1</version> <scope>test</scope> </dependency> Third party library support # Dependency Description fixture-monkey-jackson Jackson support fixture-monkey-jakarta-validation Jakarta validation support fixture-monkey-javax-validation Javax validation support fixture-monkey-mockito Mockito support fixture-monkey-autoparams Autoparams support `}),e.add({id:5,href:"/v1-1-0/docs/get-started/creating-test-objects/",title:"Creating test objects",description:` Fixture Monkey works in both Java and Kotlin. We have a separate ‘Getting Started’ page for each environment you can use: Java, Java without Lombok, and Kotlin. This page explains the Java environment. Please refer to the appropriate page for your environment. Consider a scenario where you need a test fixture for a Product class, as shown below: 💡 lombok.anyConstructor.addConstructorProperties=true should be added in lombok.config @Value public class Product { long id; String productName; long price; List<String> options; Instant createdAt; ProductType productType; Map<Integer, String> merchantInfo; } (Note that the Lombok annotation @Value is used to make Immutable classes. If you’re working in an environment without Lombok, go to creating test objects without lombok) @@ -55,11 +55,11 @@ As evident from the then section, an instance of the Product class is created. `}),e.add({id:7,href:"/v1-1-0/docs/get-started/adding-bean-validation/",title:"Adding Bean Validation",description:`Sometimes, you might want to create a valid test object that adheres to the constraints specified by the Bean Validation annotations on your class. Fixture Monkey supports constraint annotations from the jakarta.validation.constraints and javax.validation.constraints packages. To enable this feature, you need to add the fixture-monkey-jakarta-validation dependency (or fixture-monkey-javax-validation if you are using javax.validation.constraints) to your project as follows: -Gradle # testImplementation("com.navercorp.fixturemonkey:fixture-monkey-jakarta-validation:1.1.0") Maven # <dependency> <groupId>com.navercorp.fixturemonkey</groupId> <artifactId>fixture-monkey-jakarta-validation</artifactId> <version>1.1.0</version> <scope>test</scope> </dependency> Fixture Monkey provides additional features as plugins. +Gradle # testImplementation("com.navercorp.fixturemonkey:fixture-monkey-jakarta-validation:1.1.1") Maven # <dependency> <groupId>com.navercorp.fixturemonkey</groupId> <artifactId>fixture-monkey-jakarta-validation</artifactId> <version>1.1.1</version> <scope>test</scope> </dependency> Fixture Monkey provides additional features as plugins. `,content:`Sometimes, you might want to create a valid test object that adheres to the constraints specified by the Bean Validation annotations on your class. Fixture Monkey supports constraint annotations from the jakarta.validation.constraints and javax.validation.constraints packages. To enable this feature, you need to add the fixture-monkey-jakarta-validation dependency (or fixture-monkey-javax-validation if you are using javax.validation.constraints) to your project as follows: -Gradle # testImplementation("com.navercorp.fixturemonkey:fixture-monkey-jakarta-validation:1.1.0") Maven # <dependency> <groupId>com.navercorp.fixturemonkey</groupId> <artifactId>fixture-monkey-jakarta-validation</artifactId> <version>1.1.0</version> <scope>test</scope> </dependency> Fixture Monkey provides additional features as plugins. +Gradle # testImplementation("com.navercorp.fixturemonkey:fixture-monkey-jakarta-validation:1.1.1") Maven # <dependency> <groupId>com.navercorp.fixturemonkey</groupId> <artifactId>fixture-monkey-jakarta-validation</artifactId> <version>1.1.1</version> <scope>test</scope> </dependency> Fixture Monkey provides additional features as plugins. To generate objects based on Bean Validation annotations, you need to add the JakartaValidationPlugin (or JavaxValidationPlugin if you are using javax.validation.constraints) option to FixtureMonkey as shown below. If you’ve added the fixture-monkey-starter dependency, it’s already in place. FixtureMonkey fixtureMonkey = FixtureMonkey.builder() .plugin(new JakartaValidationPlugin()) // or new JavaxValidationPlugin() .build(); Let’s assume that we have added several validation annotations to the previous Product class. @Value public class Product { @Min(1) long id; @NotBlank String productName; @Max(100000) long price; @Size(min = 3) List<@NotBlank String> options; @Past Instant createdAt; } With the FixtureMonkey instance we created earlier, we can now generate valid objects: @@ -379,10 +379,10 @@ Java Kotlin FixtureMonkey fixtureMonkey = FixtureMonkey.builder() .plugin(new Ja Add plugins # Fixture Monkey offers several additional features, including support for third-party libraries through plugins. You can use the plugin option to use these additional features. For example, you can add the Jackson plugin as shown below. This will allow you to use Jackson features such as JacksonObjectArbitraryIntrospector and Jackson annotation support. Java Kotlin FixtureMonkey fixtureMonkey = FixtureMonkey.builder() .plugin(new JacksonPlugin()) .build(); val fixtureMonkey = FixtureMonkey.builder() .plugin(JacksonPlugin()) .build() `}),e.add({id:29,href:"/v1-1-0/docs/plugins/kotlin-plugin/",title:"Kotlin Plugin",description:"",content:""}),e.add({id:30,href:"/v1-1-0/docs/plugins/",title:"Plugins",description:"",content:""}),e.add({id:31,href:"/v1-1-0/docs/plugins/kotlin-plugin/features/",title:"Features",description:`To help you take full advantage of the concise, safe, and pragmatic nature of Kotlin, Fixture Monkey provides a Kotlin plugin. -Using PrimaryConstructorArbitraryIntrospector as the default introspector to generate Kotlin classes with its primary constructor. Fixture Monkey Extension Functions Kotlin DSL Exp, Kotlin instantiateBy DSL Dependencies # fixture-monkey-kotlin # Gradle # testImplementation("com.navercorp.fixturemonkey:fixture-monkey-kotlin:1.1.0") Maven # <dependency> <groupId>com.navercorp.fixturemonkey</groupId> <artifactId>fixture-monkey-kotlin</artifactId> <version>1.1.0</version> <scope>test</scope> </dependency> fixture-monkey-starter-kotlin # To help you get started using Fixture Monkey in a Kotlin environment, there is also a starter dependency fixture-monkey-starter-kotlin that comes with pre-configured dependencies such as fixture-monkey-starter or fixture-monkey-jakarta-validation. +Using PrimaryConstructorArbitraryIntrospector as the default introspector to generate Kotlin classes with its primary constructor. Fixture Monkey Extension Functions Kotlin DSL Exp, Kotlin instantiateBy DSL Dependencies # fixture-monkey-kotlin # Gradle # testImplementation("com.navercorp.fixturemonkey:fixture-monkey-kotlin:1.1.1") Maven # <dependency> <groupId>com.navercorp.fixturemonkey</groupId> <artifactId>fixture-monkey-kotlin</artifactId> <version>1.1.1</version> <scope>test</scope> </dependency> fixture-monkey-starter-kotlin # To help you get started using Fixture Monkey in a Kotlin environment, there is also a starter dependency fixture-monkey-starter-kotlin that comes with pre-configured dependencies such as fixture-monkey-starter or fixture-monkey-jakarta-validation. `,content:`To help you take full advantage of the concise, safe, and pragmatic nature of Kotlin, Fixture Monkey provides a Kotlin plugin. -Using PrimaryConstructorArbitraryIntrospector as the default introspector to generate Kotlin classes with its primary constructor. Fixture Monkey Extension Functions Kotlin DSL Exp, Kotlin instantiateBy DSL Dependencies # fixture-monkey-kotlin # Gradle # testImplementation("com.navercorp.fixturemonkey:fixture-monkey-kotlin:1.1.0") Maven # <dependency> <groupId>com.navercorp.fixturemonkey</groupId> <artifactId>fixture-monkey-kotlin</artifactId> <version>1.1.0</version> <scope>test</scope> </dependency> fixture-monkey-starter-kotlin # To help you get started using Fixture Monkey in a Kotlin environment, there is also a starter dependency fixture-monkey-starter-kotlin that comes with pre-configured dependencies such as fixture-monkey-starter or fixture-monkey-jakarta-validation. -Gradle # testImplementation("com.navercorp.fixturemonkey:fixture-monkey-starter-kotlin:1.1.0") Maven # <dependency> <groupId>com.navercorp.fixturemonkey</groupId> <artifactId>fixture-monkey-starter-kotlin</artifactId> <version>1.1.0</version> <scope>test</scope> </dependency> Plugin # val fixtureMonkey = FixtureMonkey.builder() .plugin(KotlinPlugin()) .build() `}),e.add({id:32,href:"/v1-1-0/docs/plugins/kotlin-plugin/introspectors-for-kotlin/",title:"Introspectors for Kotlin",description:`Fixture Monkey provides some additional introspectors that support the generation of Kotlin classes. +Using PrimaryConstructorArbitraryIntrospector as the default introspector to generate Kotlin classes with its primary constructor. Fixture Monkey Extension Functions Kotlin DSL Exp, Kotlin instantiateBy DSL Dependencies # fixture-monkey-kotlin # Gradle # testImplementation("com.navercorp.fixturemonkey:fixture-monkey-kotlin:1.1.1") Maven # <dependency> <groupId>com.navercorp.fixturemonkey</groupId> <artifactId>fixture-monkey-kotlin</artifactId> <version>1.1.1</version> <scope>test</scope> </dependency> fixture-monkey-starter-kotlin # To help you get started using Fixture Monkey in a Kotlin environment, there is also a starter dependency fixture-monkey-starter-kotlin that comes with pre-configured dependencies such as fixture-monkey-starter or fixture-monkey-jakarta-validation. +Gradle # testImplementation("com.navercorp.fixturemonkey:fixture-monkey-starter-kotlin:1.1.1") Maven # <dependency> <groupId>com.navercorp.fixturemonkey</groupId> <artifactId>fixture-monkey-starter-kotlin</artifactId> <version>1.1.1</version> <scope>test</scope> </dependency> Plugin # val fixtureMonkey = FixtureMonkey.builder() .plugin(KotlinPlugin()) .build() `}),e.add({id:32,href:"/v1-1-0/docs/plugins/kotlin-plugin/introspectors-for-kotlin/",title:"Introspectors for Kotlin",description:`Fixture Monkey provides some additional introspectors that support the generation of Kotlin classes. PrimaryConstructorArbitraryIntrospector # The PrimaryConstructorArbitraryIntrospector becomes the default introspector when the Kotlin plugin is added. It creates a Kotlin class with its primary constructor. In the case of using PrimaryConstructorArbitraryIntrospector, it only contains the properties of the Kotlin constructor parameter. If you use your own ArbitraryIntrospector instead of PrimaryConstructorArbitraryIntrospector, it will contain the properties of the Kotlin constructor parameter, Field, Getter. So it contains the properties of the parent Field and Getter. You can customize the all properties by ArbitraryBuilder APIs. @@ -413,14 +413,14 @@ If it is a Kotlin class, the expression (e.g. KotlinClass::field) is KProperty, Referencing a nested property # To access a nested field, the infix functions into and intoGetter are used. into takes a parameter of type KProperty, while intoGetter takes a parameter of type KFunction. @Test fun test() { // given val fixtureMonkey = FixtureMonkey.builder() .plugin(KotlinPlugin()) .plugin(JacksonPlugin()) .build() // when val javaClass = fixtureMonkey.giveMeBuilder<JavaClass>() .setExp(JavaClass::getNestedObject intoGetter JavaClass.Nested::getNestedField, "nestedField") .sample() val kotlinClass = fixtureMonkey.giveMeBuilder<KotlinClass>() .setExp(KotlinClass::nestedObject into KotlinClass.Nested::nestedField, "nestedField") .sample() then(javaClass.nestedObject.nestedField).isEqualTo("nestedField") then(kotlinClass.nestedObject.nestedField).isEqualTo("nestedField") } An expression that contains an into or intoGetter operator becomes an ExpressionGenerator type in fixture monkey. Both setExp() and setExpGetter()) are defined to take ExpressionGenerator types as arguments, so you can use both. Selecting Properties Using Kotlin DSL Expressions # Selecting the root object: # Currently Not Supported Selecting a specific field: # JavaClass::getField // java class KotlinClass::field // kotlin class Selecting a nested field: # JavaClass::getNestedObject intoGetter JavaClass.Nested::getNestedField // java class KotlinClass::nestedObject into KotlinClass.Nested::nestedField // kotlin class Selecting the n-th element of a collection: # JavaClass::getNestedObjectList["0"] // java class KotlinClass::nestedObjectList["0"] // kotlin class Selecting all elements of a collection: # JavaClass::getNestedObjectList["*"] // java class KotlinClass::nestedObjectList["*"] // kotlin class Combining expressions to select a nested field: # JavaClass::getNestedObject intoGetter JavaClass.Nested::getNestedField // java class KotlinClass::nestedObject into KotlinClass.Nested::nestedField // kotlin class `}),e.add({id:34,href:"/v1-1-0/docs/plugins/jackson-plugin/",title:"Jackson Plugin",description:"",content:""}),e.add({id:35,href:"/v1-1-0/docs/plugins/jackson-plugin/features/",title:"Features",description:`Fixture monkey supports Jackson with the Fixture Monkey Jackson plugin. -Supports the use of JacksonObjectArbitraryIntrospector as the default introspector to create objects using the Jackson object mapper. Supports Jackson Annotations such as, @JsonIgnore, @JsonProperty Dependencies # Gradle # testImplementation("com.navercorp.fixturemonkey:fixture-monkey-jackson:1.1.0") Maven # <dependency> <groupId>com.navercorp.fixturemonkey</groupId> <artifactId>fixture-monkey-jackson</artifactId> <version>1.1.0</version> <scope>test</scope> </dependency> Plugin # Java Kotlin FixtureMonkey fixtureMonkey = FixtureMonkey.builder() .plugin(new JacksonPlugin()) .build(); val fixtureMonkey = FixtureMonkey.builder() .plugin(JacksonPlugin()) .build() Pass the object mapper to the JacksonPlugin constructor if you are using Jackson with a custom object mapper. +Supports the use of JacksonObjectArbitraryIntrospector as the default introspector to create objects using the Jackson object mapper. Supports Jackson Annotations such as, @JsonIgnore, @JsonProperty Dependencies # Gradle # testImplementation("com.navercorp.fixturemonkey:fixture-monkey-jackson:1.1.1") Maven # <dependency> <groupId>com.navercorp.fixturemonkey</groupId> <artifactId>fixture-monkey-jackson</artifactId> <version>1.1.1</version> <scope>test</scope> </dependency> Plugin # Java Kotlin FixtureMonkey fixtureMonkey = FixtureMonkey.builder() .plugin(new JacksonPlugin()) .build(); val fixtureMonkey = FixtureMonkey.builder() .plugin(JacksonPlugin()) .build() Pass the object mapper to the JacksonPlugin constructor if you are using Jackson with a custom object mapper. `,content:`Fixture monkey supports Jackson with the Fixture Monkey Jackson plugin. -Supports the use of JacksonObjectArbitraryIntrospector as the default introspector to create objects using the Jackson object mapper. Supports Jackson Annotations such as, @JsonIgnore, @JsonProperty Dependencies # Gradle # testImplementation("com.navercorp.fixturemonkey:fixture-monkey-jackson:1.1.0") Maven # <dependency> <groupId>com.navercorp.fixturemonkey</groupId> <artifactId>fixture-monkey-jackson</artifactId> <version>1.1.0</version> <scope>test</scope> </dependency> Plugin # Java Kotlin FixtureMonkey fixtureMonkey = FixtureMonkey.builder() .plugin(new JacksonPlugin()) .build(); val fixtureMonkey = FixtureMonkey.builder() .plugin(JacksonPlugin()) .build() Pass the object mapper to the JacksonPlugin constructor if you are using Jackson with a custom object mapper. +Supports the use of JacksonObjectArbitraryIntrospector as the default introspector to create objects using the Jackson object mapper. Supports Jackson Annotations such as, @JsonIgnore, @JsonProperty Dependencies # Gradle # testImplementation("com.navercorp.fixturemonkey:fixture-monkey-jackson:1.1.1") Maven # <dependency> <groupId>com.navercorp.fixturemonkey</groupId> <artifactId>fixture-monkey-jackson</artifactId> <version>1.1.1</version> <scope>test</scope> </dependency> Plugin # Java Kotlin FixtureMonkey fixtureMonkey = FixtureMonkey.builder() .plugin(new JacksonPlugin()) .build(); val fixtureMonkey = FixtureMonkey.builder() .plugin(JacksonPlugin()) .build() Pass the object mapper to the JacksonPlugin constructor if you are using Jackson with a custom object mapper. Java Kotlin ObjectMapper objectMapper = JsonMapper.builder() .disable(DeserializationFeature.FAIL_ON_UNKNOWN_PROPERTIES) .build() FixtureMonkey fixtureMonkey = FixtureMonkey.builder() .plugin(new JacksonPlugin(objectMapper)) .build(); val objectMapper = JsonMapper.builder() .disable(DeserializationFeature.FAIL_ON_UNKNOWN_PROPERTIES) .build() val fixtureMonkey = FixtureMonkey.builder() .plugin(JacksonPlugin(objectMapper)) .build() `}),e.add({id:36,href:"/v1-1-0/docs/plugins/jackson-plugin/jackson-object-arbitrary-introspector/",title:"JacksonObjectArbitraryIntrospector",description:`JacksonObjectArbitraryIntrospector # The JacksonObjectArbitraryIntrospector becomes the default introspector when the Jackson plugin is added. It puts the created properties of the given class into a map and deserializes them using Jackson’s object mapper. Example Java Class : -@Value public class Product { long id; String productName; long price; List<String> options; Instant createdAt; } Using JacksonObjectArbitraryIntrospector : Java Kotlin @Test void test() { FixtureMonkey fixtureMonkey = FixtureMonkey.builder() .plugin(new JacksonPlugin()) .build(); Product product = fixtureMonkey.giveMeOne(Product.class); } testImplementation("com.navercorp.fixturemonkey:fixture-monkey-starter-kotlin:1.1.0") testImplementation("com.fasterxml.jackson.module:jackson-module-kotlin") @Test fun test() { FixtureMonkey fixtureMonkey = FixtureMonkey.builder() .plugin(KotlinPlugin()) .plugin(JacksonPlugin()) .build(); val product: Product = fixtureMonkey.giveMeOne() } `,content:`JacksonObjectArbitraryIntrospector # The JacksonObjectArbitraryIntrospector becomes the default introspector when the Jackson plugin is added. It puts the created properties of the given class into a map and deserializes them using Jackson’s object mapper. +@Value public class Product { long id; String productName; long price; List<String> options; Instant createdAt; } Using JacksonObjectArbitraryIntrospector : Java Kotlin @Test void test() { FixtureMonkey fixtureMonkey = FixtureMonkey.builder() .plugin(new JacksonPlugin()) .build(); Product product = fixtureMonkey.giveMeOne(Product.class); } testImplementation("com.navercorp.fixturemonkey:fixture-monkey-starter-kotlin:1.1.1") testImplementation("com.fasterxml.jackson.module:jackson-module-kotlin") @Test fun test() { FixtureMonkey fixtureMonkey = FixtureMonkey.builder() .plugin(KotlinPlugin()) .plugin(JacksonPlugin()) .build(); val product: Product = fixtureMonkey.giveMeOne() } `,content:`JacksonObjectArbitraryIntrospector # The JacksonObjectArbitraryIntrospector becomes the default introspector when the Jackson plugin is added. It puts the created properties of the given class into a map and deserializes them using Jackson’s object mapper. Example Java Class : -@Value public class Product { long id; String productName; long price; List<String> options; Instant createdAt; } Using JacksonObjectArbitraryIntrospector : Java Kotlin @Test void test() { FixtureMonkey fixtureMonkey = FixtureMonkey.builder() .plugin(new JacksonPlugin()) .build(); Product product = fixtureMonkey.giveMeOne(Product.class); } testImplementation("com.navercorp.fixturemonkey:fixture-monkey-starter-kotlin:1.1.0") testImplementation("com.fasterxml.jackson.module:jackson-module-kotlin") @Test fun test() { FixtureMonkey fixtureMonkey = FixtureMonkey.builder() .plugin(KotlinPlugin()) .plugin(JacksonPlugin()) .build(); val product: Product = fixtureMonkey.giveMeOne() } 💡 To generate Kotlin classes with JacksonObjectArbitraryIntrospector, both Kotlin plugin and Jackson plugin need to be added. In addition, fasterxml jackson-module-kotlin should be added to the dependency for serialization/deserialization of Kotlin classes. It has the advantage of being a general purpose introspector because it relies on the widely used Jackson for object creation. If your production code has both Kotlin and Java classes, it is recommended to use JacksonObjectArbitraryIntrospector. +@Value public class Product { long id; String productName; long price; List<String> options; Instant createdAt; } Using JacksonObjectArbitraryIntrospector : Java Kotlin @Test void test() { FixtureMonkey fixtureMonkey = FixtureMonkey.builder() .plugin(new JacksonPlugin()) .build(); Product product = fixtureMonkey.giveMeOne(Product.class); } testImplementation("com.navercorp.fixturemonkey:fixture-monkey-starter-kotlin:1.1.1") testImplementation("com.fasterxml.jackson.module:jackson-module-kotlin") @Test fun test() { FixtureMonkey fixtureMonkey = FixtureMonkey.builder() .plugin(KotlinPlugin()) .plugin(JacksonPlugin()) .build(); val product: Product = fixtureMonkey.giveMeOne() } 💡 To generate Kotlin classes with JacksonObjectArbitraryIntrospector, both Kotlin plugin and Jackson plugin need to be added. In addition, fasterxml jackson-module-kotlin should be added to the dependency for serialization/deserialization of Kotlin classes. It has the advantage of being a general purpose introspector because it relies on the widely used Jackson for object creation. If your production code has both Kotlin and Java classes, it is recommended to use JacksonObjectArbitraryIntrospector. However, it does have the disadvantage of potentially not performing as efficiently as other introspectors, as deserialization with Jackson can be more time-consuming. `}),e.add({id:37,href:"/v1-1-0/docs/plugins/jackson-plugin/jackson-annotations/",title:"Jackson Annotations",description:`With the Jackson plugin, some Jackson annotations are also supported. @JsonProperty, @JsonIgnore # We can use the property name specified by @JsonProperty when using the String Expression to customize this property. @@ -436,9 +436,9 @@ Example Java Class : @Value // lombok getter, setter public class Product { long id; @JsonProperty("name") String productName; long price; @JsonIgnore List<String> options; Instant createdAt; } Java Kotlin @Test void test() { // given FixtureMonkey fixtureMonkey = FixtureMonkey.builder() .plugin(new JacksonPlugin()) .build(); // when Product actual = fixtureMonkey.giveMeBuilder(Product.class) .set("name", "book") .sample(); // then then(actual.getProductName()).isEqualTo("book"); // @JsonProperty then(actual.getOptions()).isNull(); // @JsonIgnore } @Test fun test() { // given val fixtureMonkey = FixtureMonkey.builder() .plugin(JacksonPlugin()) .build() // when val actual = fixtureMonkey.giveMeBuilder<Product>() .set("name", "book") .sample() // then then(actual.productName).isEqualTo("book") // @JsonProperty then(actual.options).isNull() // @JsonIgnore } @JsonTypeInfo, @JsonSubTypes # Fixture Monkey also supports Jackson’s polymorphic type handling annotations @JsonTypeInfo and @JsonSubTypes. We can generate an inheritance-implementation relationship object with the help of FixtureMonkey. `}),e.add({id:38,href:"/v1-1-0/docs/plugins/jakarta-validation-plugin/",title:"Jakarta Validation Plugin",description:"",content:""}),e.add({id:39,href:"/v1-1-0/docs/plugins/jakarta-validation-plugin/features/",title:"Features",description:`Fixture monkey supports generating valid data based on Jakarta Bean Validation 3.0 annotations with the Fixture Monkey Jakarta Validation Plugin. -💡 Javax Bean Validation is also supported with the Fixture Monkey Javax Validation Plugin Dependencies # Gradle # testImplementation("com.navercorp.fixturemonkey:jakarta-validation:1.1.0") Maven # <dependency> <groupId>com.navercorp.fixturemonkey</groupId> <artifactId>fixture-monkey-jakarta-validation</artifactId> <version>1.1.0</version> <scope>test</scope> </dependency> The jakarta validation API and the Hibernate validator are already provided as part of the dependency. +💡 Javax Bean Validation is also supported with the Fixture Monkey Javax Validation Plugin Dependencies # Gradle # testImplementation("com.navercorp.fixturemonkey:jakarta-validation:1.1.1") Maven # <dependency> <groupId>com.navercorp.fixturemonkey</groupId> <artifactId>fixture-monkey-jakarta-validation</artifactId> <version>1.1.1</version> <scope>test</scope> </dependency> The jakarta validation API and the Hibernate validator are already provided as part of the dependency. Plugin # Java Kotlin FixtureMonkey fixtureMonkey = FixtureMonkey.builder() .plugin(new JakartaValidationPlugin()) .build(); val fixtureMonkey = FixtureMonkey.builder() .plugin(JakartaValidationPlugin()) .build() `,content:`Fixture monkey supports generating valid data based on Jakarta Bean Validation 3.0 annotations with the Fixture Monkey Jakarta Validation Plugin. -💡 Javax Bean Validation is also supported with the Fixture Monkey Javax Validation Plugin Dependencies # Gradle # testImplementation("com.navercorp.fixturemonkey:jakarta-validation:1.1.0") Maven # <dependency> <groupId>com.navercorp.fixturemonkey</groupId> <artifactId>fixture-monkey-jakarta-validation</artifactId> <version>1.1.0</version> <scope>test</scope> </dependency> The jakarta validation API and the Hibernate validator are already provided as part of the dependency. +💡 Javax Bean Validation is also supported with the Fixture Monkey Javax Validation Plugin Dependencies # Gradle # testImplementation("com.navercorp.fixturemonkey:jakarta-validation:1.1.1") Maven # <dependency> <groupId>com.navercorp.fixturemonkey</groupId> <artifactId>fixture-monkey-jakarta-validation</artifactId> <version>1.1.1</version> <scope>test</scope> </dependency> The jakarta validation API and the Hibernate validator are already provided as part of the dependency. Plugin # Java Kotlin FixtureMonkey fixtureMonkey = FixtureMonkey.builder() .plugin(new JakartaValidationPlugin()) .build(); val fixtureMonkey = FixtureMonkey.builder() .plugin(JakartaValidationPlugin()) .build() `}),e.add({id:40,href:"/v1-1-0/docs/plugins/jakarta-validation-plugin/bean-validation/",title:"Bean Validation",description:`Generating valid data # Using the Jakarta Validation plugin, we can generate valid data based on Jakarta Bean validation annotations on properties. For example, there can be a Product class annotated as follows: @Value public class Product { @Min(1) long id; @NotBlank String productName; @Max(100000) long price; @Size(min = 3) List<@NotBlank String> options; @Past Instant createdAt; } An instance of the Product class that is compliant with the annotations can be created in the following manner: @@ -449,8 +449,8 @@ For example, there can be a Product class annotated as follows: Numeric Type # Supported Types: BigDecimal, BigInteger, byte, double, float, int, long, short @Digits (fraction is currently not supported) @Max @Min @Negative @NegativeOrZero @DecimalMax @DecimalMin @Positive @PositiveOrZero Boolean Type # @AssertFalse @AssertTrue String Type # @Null @NotNull @NotBlank @NotEmpty @Size @Digits @Pattern @Email Time Type # Supported Types: Calendar, Date, Instant, LocalDate, LocalDateTime, LocalTime, ZonedDateTime, Year, YearMonth, MonthDay, OffsetDateTime, OffsetTime @Past @PastOrPresent @Future @FutureOrPresent Container Type # @Size @NotEmpty `}),e.add({id:41,href:"/v1-1-0/docs/intellij-plugin/",title:"Intellij Plugin",description:"",content:""}),e.add({id:42,href:"/v1-1-0/docs/plugins/kotest-plugin/",title:"Kotest Plugin",description:"",content:""}),e.add({id:43,href:"/v1-1-0/docs/plugins/kotest-plugin/features/",title:"Features",description:`The Kotest plugin provided by Fixture Monkey allows you to enhance your testing experience within the Kotest framework. -Replaces the default generator for generating random values for primitive types from Jqwik to Kotest’s property generator (Arb). Use of bean validation annotations also works. Support for Kotest’s property-based testing functions, including forAll and checkAll. 💡 Adding the Kotest Plugin doesn't mean you have to use Kotest as your testing framework. You can still use Junit. Dependencies # fixture-monkey-kotlin # Gradle # testImplementation("com.navercorp.fixturemonkey:fixture-monkey-kotest:1.1.0") Maven # <dependency> <groupId>com.navercorp.fixturemonkey</groupId> <artifactId>fixture-monkey-kotest</artifactId> <version>1.1.0</version> <scope>test</scope> </dependency> Plugin # val fixtureMonkey = FixtureMonkey.builder() .plugin(KotestPlugin()) .plugin(KotlinPlugin()) .build() `,content:`The Kotest plugin provided by Fixture Monkey allows you to enhance your testing experience within the Kotest framework. -Replaces the default generator for generating random values for primitive types from Jqwik to Kotest’s property generator (Arb). Use of bean validation annotations also works. Support for Kotest’s property-based testing functions, including forAll and checkAll. 💡 Adding the Kotest Plugin doesn't mean you have to use Kotest as your testing framework. You can still use Junit. Dependencies # fixture-monkey-kotlin # Gradle # testImplementation("com.navercorp.fixturemonkey:fixture-monkey-kotest:1.1.0") Maven # <dependency> <groupId>com.navercorp.fixturemonkey</groupId> <artifactId>fixture-monkey-kotest</artifactId> <version>1.1.0</version> <scope>test</scope> </dependency> Plugin # val fixtureMonkey = FixtureMonkey.builder() .plugin(KotestPlugin()) .plugin(KotlinPlugin()) .build() `}),e.add({id:44,href:"/v1-1-0/docs/intellij-plugin/fixture-monkey-helper/",title:"Fixture Monkey Helper",description:`Fixture Monkey Helper is an IntelliJ plugin that helps to use Fixture Monkey on the IntelliJ IDE. +Replaces the default generator for generating random values for primitive types from Jqwik to Kotest’s property generator (Arb). Use of bean validation annotations also works. Support for Kotest’s property-based testing functions, including forAll and checkAll. 💡 Adding the Kotest Plugin doesn't mean you have to use Kotest as your testing framework. You can still use Junit. Dependencies # fixture-monkey-kotlin # Gradle # testImplementation("com.navercorp.fixturemonkey:fixture-monkey-kotest:1.1.1") Maven # <dependency> <groupId>com.navercorp.fixturemonkey</groupId> <artifactId>fixture-monkey-kotest</artifactId> <version>1.1.1</version> <scope>test</scope> </dependency> Plugin # val fixtureMonkey = FixtureMonkey.builder() .plugin(KotestPlugin()) .plugin(KotlinPlugin()) .build() `,content:`The Kotest plugin provided by Fixture Monkey allows you to enhance your testing experience within the Kotest framework. +Replaces the default generator for generating random values for primitive types from Jqwik to Kotest’s property generator (Arb). Use of bean validation annotations also works. Support for Kotest’s property-based testing functions, including forAll and checkAll. 💡 Adding the Kotest Plugin doesn't mean you have to use Kotest as your testing framework. You can still use Junit. Dependencies # fixture-monkey-kotlin # Gradle # testImplementation("com.navercorp.fixturemonkey:fixture-monkey-kotest:1.1.1") Maven # <dependency> <groupId>com.navercorp.fixturemonkey</groupId> <artifactId>fixture-monkey-kotest</artifactId> <version>1.1.1</version> <scope>test</scope> </dependency> Plugin # val fixtureMonkey = FixtureMonkey.builder() .plugin(KotestPlugin()) .plugin(KotlinPlugin()) .build() `}),e.add({id:44,href:"/v1-1-0/docs/intellij-plugin/fixture-monkey-helper/",title:"Fixture Monkey Helper",description:`Fixture Monkey Helper is an IntelliJ plugin that helps to use Fixture Monkey on the IntelliJ IDE. It provides some features that make using String Expressions and Kotlin DSL Expressions easier, and also add some IntelliJ inspections to detect and fix abnormal code. 🚨 This plugin currently operates only within Java source code and Kotlin test code. Plans for expansion are in progress. Features # Fixture Monkey Expression support `,content:`Fixture Monkey Helper is an IntelliJ plugin that helps to use Fixture Monkey on the IntelliJ IDE. diff --git a/v0-6-0-kor/404.html b/v0-6-0-kor/404.html index 17f6321c0..82544385c 100644 --- a/v0-6-0-kor/404.html +++ b/v0-6-0-kor/404.html @@ -6,4 +6,4 @@ v0.6.x

Page not found :(

The page you are looking for doesn't exist or has been moved.

\ No newline at end of file +

Page not found :(

The page you are looking for doesn't exist or has been moved.

\ No newline at end of file diff --git a/v0-6-0-kor/categories/index.html b/v0-6-0-kor/categories/index.html index f4a02de77..d8a968e73 100644 --- a/v0-6-0-kor/categories/index.html +++ b/v0-6-0-kor/categories/index.html @@ -6,4 +6,4 @@ v0.6.x

Categories

\ No newline at end of file +

Categories

\ No newline at end of file diff --git a/v0-6-0-kor/contributors/index.html b/v0-6-0-kor/contributors/index.html index 34aa26b72..31dcea863 100644 --- a/v0-6-0-kor/contributors/index.html +++ b/v0-6-0-kor/contributors/index.html @@ -6,4 +6,4 @@ v0.6.x

Contributors

\ No newline at end of file +

Contributors

\ No newline at end of file diff --git a/v0-6-0-kor/index.html b/v0-6-0-kor/index.html index bcac86c6c..5ccb1dfc8 100644 --- a/v0-6-0-kor/index.html +++ b/v0-6-0-kor/index.html @@ -7,4 +7,4 @@ KOR

The easiest way to generate controllable arbitrary test objects

Java & Kotlin library for automatically generating reusable and controllable, arbitrary test fixtures

Simplicity

Effortlessly generate any kind of test object with just one line of code.

Complex test objects can be easily generated with the Builder Pattern.

Reusability

Define complex specifications once and reuse them!

Configurations of instances can be reused across multiple tests.

Randomness

Make your tests more dynamic by randomly generating test objects.

You can uncover edge cases that may remain hidden when using static data.

\ No newline at end of file +Get Started

The easiest way to generate controllable arbitrary test objects

Java & Kotlin library for automatically generating reusable and controllable, arbitrary test fixtures

Simplicity

Effortlessly generate any kind of test object with just one line of code.

Complex test objects can be easily generated with the Builder Pattern.

Reusability

Define complex specifications once and reuse them!

Configurations of instances can be reused across multiple tests.

Randomness

Make your tests more dynamic by randomly generating test objects.

You can uncover edge cases that may remain hidden when using static data.

\ No newline at end of file diff --git a/v0-6-0-kor/tags/index.html b/v0-6-0-kor/tags/index.html index 80a034421..9da711083 100644 --- a/v0-6-0-kor/tags/index.html +++ b/v0-6-0-kor/tags/index.html @@ -6,4 +6,4 @@ v0.6.x

Tags

\ No newline at end of file +

Tags

\ No newline at end of file diff --git a/v0-6-0/404.html b/v0-6-0/404.html index 2383d6f9e..4d998acc1 100644 --- a/v0-6-0/404.html +++ b/v0-6-0/404.html @@ -6,4 +6,4 @@ v0.6.x

Page not found :(

The page you are looking for doesn't exist or has been moved.

\ No newline at end of file +

Page not found :(

The page you are looking for doesn't exist or has been moved.

\ No newline at end of file diff --git a/v0-6-0/categories/index.html b/v0-6-0/categories/index.html index 576cd7235..c03be55bf 100644 --- a/v0-6-0/categories/index.html +++ b/v0-6-0/categories/index.html @@ -6,4 +6,4 @@ v0.6.x

Categories

\ No newline at end of file +

Categories

\ No newline at end of file diff --git a/v0-6-0/contributors/index.html b/v0-6-0/contributors/index.html index 671397663..73318d34d 100644 --- a/v0-6-0/contributors/index.html +++ b/v0-6-0/contributors/index.html @@ -6,4 +6,4 @@ v0.6.x

Contributors

\ No newline at end of file +

Contributors

\ No newline at end of file diff --git a/v0-6-0/docs/components/arbitrary/index.html b/v0-6-0/docs/components/arbitrary/index.html index 86954222f..affa0eb72 100644 --- a/v0-6-0/docs/components/arbitrary/index.html +++ b/v0-6-0/docs/components/arbitrary/index.html @@ -44,4 +44,4 @@ Practices
  • Arbitrary

    Arbitrary is a fixture in jqwik.

    You can generate Arbitrary, simply by calling static methods in Arbitraries

    Details about Arbitrary, check out jqwik User Guide

    ← ArbitraryValidator
    Migration guide →
    \ No newline at end of file +Third-party Modules

    Arbitrary

    Arbitrary is a fixture in jqwik.

    You can generate Arbitrary, simply by calling static methods in Arbitraries

    Details about Arbitrary, check out jqwik User Guide

    ← ArbitraryValidator
    Migration guide →
    \ No newline at end of file diff --git a/v0-6-0/docs/components/arbitrarybuilder/index.html b/v0-6-0/docs/components/arbitrarybuilder/index.html index ef42e5a26..f4562b260 100644 --- a/v0-6-0/docs/components/arbitrarybuilder/index.html +++ b/v0-6-0/docs/components/arbitrarybuilder/index.html @@ -60,4 +60,4 @@ .set(generate);

    Features

    Manipulation

    Altering value

    set

    Altering field referenced by expression

    setPostCondition

    Field would be obliged to obey postCondition

    size

    Altering container size

    fixed

    Fixing object built by ArbitraryBuilder

    Transforming type

    map

    public <U> ArbitraryBuilder<U> map(Function<T, U> mapper)
     

    Transforming type T into U

    zip

    public <U, R> ArbitraryBuilder<R> zipWith(ArbitraryBuilder<U> other, BiFunction<T, U, R> combinator)
    -

    Zipping type T and U returns type R

    ← FixtureMonkey
    ArbitraryIntrospector →
    \ No newline at end of file +

    Zipping type T and U returns type R

    ← FixtureMonkey
    ArbitraryIntrospector →
    \ No newline at end of file diff --git a/v0-6-0/docs/components/arbitraryintrospector/index.html b/v0-6-0/docs/components/arbitraryintrospector/index.html index 7d5babf62..2f12f5c13 100644 --- a/v0-6-0/docs/components/arbitraryintrospector/index.html +++ b/v0-6-0/docs/components/arbitraryintrospector/index.html @@ -61,4 +61,4 @@ @Nullable private final ContainerProperty containerProperty; } -

    ObjectProperty

    ContainerProperty

    children

    arbitraryProperty children

    childrenArbitraryContext

    ownerContext

    parent ArbitraryGeneratorContext

    rootContext

    whether it is root ArbitraryGeneratorContext

    fixtureCustomizers

    ← ArbitraryBuilder
    ObjectProperty →
    \ No newline at end of file +

    ObjectProperty

    ContainerProperty

    children

    arbitraryProperty children

    childrenArbitraryContext

    ownerContext

    parent ArbitraryGeneratorContext

    rootContext

    whether it is root ArbitraryGeneratorContext

    fixtureCustomizers

    ← ArbitraryBuilder
    ObjectProperty →
    \ No newline at end of file diff --git a/v0-6-0/docs/components/arbitraryvalidator/index.html b/v0-6-0/docs/components/arbitraryvalidator/index.html index 60b2f9001..40f1007dd 100644 --- a/v0-6-0/docs/components/arbitraryvalidator/index.html +++ b/v0-6-0/docs/components/arbitraryvalidator/index.html @@ -42,4 +42,4 @@ void validate(Object arbitrary); }

    Invalid instance could not be generated. -If object is invalid which sampled over 10000 times from Arbitrary, TooManyFilterMissesException would be thrown. (MaxTriesLoop)

    DefaultArbitraryValidator

    javax.validation.Validator would validate instance, should keep javax.validation.constraints

    CompositeFixtureValidator (default)

    ← FixtureCustomizer
    Arbitrary →
    \ No newline at end of file +If object is invalid which sampled over 10000 times from Arbitrary, TooManyFilterMissesException would be thrown. (MaxTriesLoop)

    DefaultArbitraryValidator

    javax.validation.Validator would validate instance, should keep javax.validation.constraints

    CompositeFixtureValidator (default)

    ← FixtureCustomizer
    Arbitrary →
    \ No newline at end of file diff --git a/v0-6-0/docs/components/containerproperty/index.html b/v0-6-0/docs/components/containerproperty/index.html index 1a670a6d2..e17aa2540 100644 --- a/v0-6-0/docs/components/containerproperty/index.html +++ b/v0-6-0/docs/components/containerproperty/index.html @@ -32,4 +32,4 @@ On This Page ExpandCollapse

    ContainerProperty

    It contains immutable container information.

    elementProperties

    It is an element property list

    containerInfo

    It resolves container size. If manipulated is true, container size could not be changed. If false, container size could be changed.

    ← ObjectProperty
    FixtureCustomizer →
    \ No newline at end of file +ExpandCollapse

    It contains immutable container information.

    elementProperties

    It is an element property list

    containerInfo

    It resolves container size. If manipulated is true, container size could not be changed. If false, container size could be changed.

    ← ObjectProperty
    FixtureCustomizer →
    \ No newline at end of file diff --git a/v0-6-0/docs/components/fixturecustomizer/index.html b/v0-6-0/docs/components/fixturecustomizer/index.html index 262a6e069..498e2abda 100644 --- a/v0-6-0/docs/components/fixturecustomizer/index.html +++ b/v0-6-0/docs/components/fixturecustomizer/index.html @@ -66,4 +66,4 @@

    replaces by arbitrary if given property matches by matcher

    removeArbitrary

    public void removeArbitrary(Matcher matcher)
     

    removes by arbitrary if given property matches by matcher

    customizerFixture

    @Nullable
     public T customizeFixture(@Nullable T object)
    -

    generated object is customized by customizeFixture

    ← ContainerProperty
    ArbitraryValidator →
    \ No newline at end of file +

    generated object is customized by customizeFixture

    ← ContainerProperty
    ArbitraryValidator →
    \ No newline at end of file diff --git a/v0-6-0/docs/components/index.html b/v0-6-0/docs/components/index.html index 25da893c6..5fc435e74 100644 --- a/v0-6-0/docs/components/index.html +++ b/v0-6-0/docs/components/index.html @@ -16,4 +16,4 @@ Practices
  • \ No newline at end of file +Third-party Modules
    \ No newline at end of file diff --git a/v0-6-0/docs/components/labmonkey/index.html b/v0-6-0/docs/components/labmonkey/index.html index 851a162cc..a407861fb 100644 --- a/v0-6-0/docs/components/labmonkey/index.html +++ b/v0-6-0/docs/components/labmonkey/index.html @@ -242,4 +242,4 @@

    FixtureMonkey with custom options

    FixtureMonkey fixtureMonkey = FixtureMonkey.builder()
     	+ options...
         .build();
    -

    Option

    Alter option:

    OptionDescriptionLink
    arbitraryValidatorArbitrary sampled value is validated by arbitraryValidator. The default validator is new DefaultArbitraryValidator().ArbitraryValidator
    defaultArbitraryContainerInfoDefault size for a randomly generated instance of container type. The default value is new ArbitraryContainerInfo(0, defaultArbitraryContainerMaxSize, false).
    defaultArbitraryContainerMaxSizeDefault max size for a randomly generated instance of container type. The default value is 3.
    defaultNullInjectGeneratorDetermines when a null instance is created. The default value is new DefaultNullInjectGenerator(...).
    nullableContainerDetermines whether to generate a randomly generated container instance. The default value is false.
    nullableElementDetermines whether to generate a randomly generated element instance. The default value is false.
    defaultNotNullDetermines whether to generate a null instance. The default value is false.
    defaultObjectPropertyGeneratorDetermines how to generate ObjectProperty. The default value is DEFAULT_OBJECT_PROPERTY_GENERATOR.ObjectProperty
    defaultPropertyGeneratorDetermines how to generate child properties. The default value is new DefaultPropertyGenerator().
    defaultPropertyNameResolverDetermines how property resolves name. The default value is DEFAULT_PROPERTY_NAME_RESOLVER.
    javaArbitraryResolverResolves how annotations apply to default Java classes. The default value is new JavaArbitraryResolver() {}.
    javaTimeArbitraryResolverResolves how annotations apply to default Java Time/Date classes. The default value is new JavaTimeArbitraryResolver() {}.
    javaTypeArbitraryGeneratorDetermines a default value for default Java classes. The default value is new JavaTypeArbitraryGenerator() {}.
    javaTimeTypeArbitraryGeneratorDetermines a default value for default Java Time/Date classes. The default value is new JavaTimeTypeArbitraryGenerator() {}.
    manipulatorOptimizerDetermines how manipulators are optimized. The default value is new NoneManipulatorOptimizer().
    monkeyExpressionFactoryDetermines general expression. The default value is new ArbitraryExpressionFactory().
    objectIntrospectorDetermines how to create an instance. The default value is BeanArbitraryIntrospector.INSTANCE.ArbitraryIntrospector
    useExpressionStrictModeDetermines whether to throw an exception if a property referenced by a given expression does not exist. The default value is false.

    Add option

    OptionDescriptionLink
    addContainerTypeAdd user-defined container typeArbitraryIntrospector
    addExceptGenerateClassDo not create an instance of the given class
    addExceptGenerateClassesDo not create an instance of the given classes
    addExceptGeneratePackageDo not create an instance of any classes which package starts with given package
    addExceptGeneratePackagesDo not create an instance of any classes which package starts with given packages
    pushExceptGenerateTypeDo not create an instance of any classes which property is matched by matcher
    pushContainerIntrospectorDetermines how to create an instance of given container typeArbitraryIntrospector
    pluginAdd new plugin
    pushArbitraryContainerInfoGeneratorDetermines size for an instance of given container type
    pushFixtureCustomizerDetermines how to customize composing properties and an instance of given propertyFixtureCustomizer
    pushArbitraryIntrospectorDetermines how to create an instance of given propertyArbitraryIntrospector
    pushObjectPropertyGeneratorDetermines how to generate ObjectProperty for given propertyObjectProperty
    pushContainerPropertyGeneratorDetermines how to generate ContainerProperty for given propertyContainerProperty
    pushPropertyGeneratorDetermines how to generate child properties for given property
    pushPropertyNameResolverDetermines how property resolves name for given property
    pushNullInjectGeneratorDetermines when a null instance is created for given property
    registerDetermines default ArbitraryBuilder for given property
    registerGroupDetermines default ArbitraryBuilder for given properties in a group class
    ← Setting object
    ArbitraryBuilder →
    \ No newline at end of file +

    Option

    Alter option:

    OptionDescriptionLink
    arbitraryValidatorArbitrary sampled value is validated by arbitraryValidator. The default validator is new DefaultArbitraryValidator().ArbitraryValidator
    defaultArbitraryContainerInfoDefault size for a randomly generated instance of container type. The default value is new ArbitraryContainerInfo(0, defaultArbitraryContainerMaxSize, false).
    defaultArbitraryContainerMaxSizeDefault max size for a randomly generated instance of container type. The default value is 3.
    defaultNullInjectGeneratorDetermines when a null instance is created. The default value is new DefaultNullInjectGenerator(...).
    nullableContainerDetermines whether to generate a randomly generated container instance. The default value is false.
    nullableElementDetermines whether to generate a randomly generated element instance. The default value is false.
    defaultNotNullDetermines whether to generate a null instance. The default value is false.
    defaultObjectPropertyGeneratorDetermines how to generate ObjectProperty. The default value is DEFAULT_OBJECT_PROPERTY_GENERATOR.ObjectProperty
    defaultPropertyGeneratorDetermines how to generate child properties. The default value is new DefaultPropertyGenerator().
    defaultPropertyNameResolverDetermines how property resolves name. The default value is DEFAULT_PROPERTY_NAME_RESOLVER.
    javaArbitraryResolverResolves how annotations apply to default Java classes. The default value is new JavaArbitraryResolver() {}.
    javaTimeArbitraryResolverResolves how annotations apply to default Java Time/Date classes. The default value is new JavaTimeArbitraryResolver() {}.
    javaTypeArbitraryGeneratorDetermines a default value for default Java classes. The default value is new JavaTypeArbitraryGenerator() {}.
    javaTimeTypeArbitraryGeneratorDetermines a default value for default Java Time/Date classes. The default value is new JavaTimeTypeArbitraryGenerator() {}.
    manipulatorOptimizerDetermines how manipulators are optimized. The default value is new NoneManipulatorOptimizer().
    monkeyExpressionFactoryDetermines general expression. The default value is new ArbitraryExpressionFactory().
    objectIntrospectorDetermines how to create an instance. The default value is BeanArbitraryIntrospector.INSTANCE.ArbitraryIntrospector
    useExpressionStrictModeDetermines whether to throw an exception if a property referenced by a given expression does not exist. The default value is false.

    Add option

    OptionDescriptionLink
    addContainerTypeAdd user-defined container typeArbitraryIntrospector
    addExceptGenerateClassDo not create an instance of the given class
    addExceptGenerateClassesDo not create an instance of the given classes
    addExceptGeneratePackageDo not create an instance of any classes which package starts with given package
    addExceptGeneratePackagesDo not create an instance of any classes which package starts with given packages
    pushExceptGenerateTypeDo not create an instance of any classes which property is matched by matcher
    pushContainerIntrospectorDetermines how to create an instance of given container typeArbitraryIntrospector
    pluginAdd new plugin
    pushArbitraryContainerInfoGeneratorDetermines size for an instance of given container type
    pushFixtureCustomizerDetermines how to customize composing properties and an instance of given propertyFixtureCustomizer
    pushArbitraryIntrospectorDetermines how to create an instance of given propertyArbitraryIntrospector
    pushObjectPropertyGeneratorDetermines how to generate ObjectProperty for given propertyObjectProperty
    pushContainerPropertyGeneratorDetermines how to generate ContainerProperty for given propertyContainerProperty
    pushPropertyGeneratorDetermines how to generate child properties for given property
    pushPropertyNameResolverDetermines how property resolves name for given property
    pushNullInjectGeneratorDetermines when a null instance is created for given property
    registerDetermines default ArbitraryBuilder for given property
    registerGroupDetermines default ArbitraryBuilder for given properties in a group class
    ← Setting object
    ArbitraryBuilder →
    \ No newline at end of file diff --git a/v0-6-0/docs/components/objectproperty/index.html b/v0-6-0/docs/components/objectproperty/index.html index 8fd95ee59..a1ba63298 100644 --- a/v0-6-0/docs/components/objectproperty/index.html +++ b/v0-6-0/docs/components/objectproperty/index.html @@ -43,4 +43,4 @@ On This Page ExpandCollapse

    ObjectProperty

    It contains immutable object information.

    property

    If needed, could be replaced by a extended property.

    propertyNameResolver

    It resolves property name.

    nullInject

    It resolves probabilities to create a null instance.

    elementIndex

    If object is element, it is sequential indexed in container.

    If not, it is null.

    childProperties

    It is a child property list comprises given property

    ← ArbitraryIntrospector
    ContainerProperty →
    \ No newline at end of file +ExpandCollapse

    It contains immutable object information.

    property

    If needed, could be replaced by a extended property.

    propertyNameResolver

    It resolves property name.

    nullInject

    It resolves probabilities to create a null instance.

    elementIndex

    If object is element, it is sequential indexed in container.

    If not, it is null.

    childProperties

    It is a child property list comprises given property

    ← ArbitraryIntrospector
    ContainerProperty →
    \ No newline at end of file diff --git a/v0-6-0/docs/examples/containersize/index.html b/v0-6-0/docs/examples/containersize/index.html index f36e76b40..f658b7ec4 100644 --- a/v0-6-0/docs/examples/containersize/index.html +++ b/v0-6-0/docs/examples/containersize/index.html @@ -148,4 +148,4 @@ general expression
    generateBuilder.size("values[n]", 5);
    generateBuilder.sizeExp(Generate::values[n], 5);

    2-3. Alter field all elements size

    generateBuilder.size("values[*]", 5);
    generateBuilder.sizeExp(Generate::values["*"], 5);
    ← Setting Nested Map
    registering default ArbitraryBuilder →
    \ No newline at end of file +Kotlin Exp
    generateBuilder.size("values[*]", 5);
    generateBuilder.sizeExp(Generate::values["*"], 5);
    ← Setting Nested Map
    registering default ArbitraryBuilder →
    \ No newline at end of file diff --git a/v0-6-0/docs/examples/customannotation/index.html b/v0-6-0/docs/examples/customannotation/index.html index 742d2c87c..c8ef8e03b 100644 --- a/v0-6-0/docs/examples/customannotation/index.html +++ b/v0-6-0/docs/examples/customannotation/index.html @@ -54,4 +54,4 @@ .plugin(new JavaxValidationPlugin()) .javaArbitraryResolver(new CustomJavaArbitraryResolver()) .build(); -
    ← Altering Java class default value
    Altering the way of instantiating →
    \ No newline at end of file +
    ← Altering Java class default value
    Altering the way of instantiating →
    \ No newline at end of file diff --git a/v0-6-0/docs/examples/fieldset/index.html b/v0-6-0/docs/examples/fieldset/index.html index 97f35023f..8be151493 100644 --- a/v0-6-0/docs/examples/fieldset/index.html +++ b/v0-6-0/docs/examples/fieldset/index.html @@ -226,4 +226,4 @@ general expression
    generateBuilder.set("values[n]", Arbitraries.strings());
    generateBuilder.setExp(Generate::values[n], Arbitraries.strings());

    Setting field all elements to arbitrary value

    generateBuilder.set("values[*]", Arbitraries.strings());
    generateBuilder.setExp(Generate::values["*"], Arbitraries.strings());
    ← Altering the way of instantiating
    Setting Map →
    \ No newline at end of file +Kotlin Exp
    generateBuilder.set("values[*]", Arbitraries.strings());
    generateBuilder.setExp(Generate::values["*"], Arbitraries.strings());
    ← Altering the way of instantiating
    Setting Map →
    \ No newline at end of file diff --git a/v0-6-0/docs/examples/index.html b/v0-6-0/docs/examples/index.html index 7aa28d039..2bf96f28c 100644 --- a/v0-6-0/docs/examples/index.html +++ b/v0-6-0/docs/examples/index.html @@ -16,4 +16,4 @@ Practices
  • \ No newline at end of file +Third-party Modules
    \ No newline at end of file diff --git a/v0-6-0/docs/examples/javadefaultvalue/index.html b/v0-6-0/docs/examples/javadefaultvalue/index.html index a7b714527..102116560 100644 --- a/v0-6-0/docs/examples/javadefaultvalue/index.html +++ b/v0-6-0/docs/examples/javadefaultvalue/index.html @@ -50,4 +50,4 @@ .plugin(new JavaxValidationPlugin()) .javaTypeArbitraryGenerator(new CustomJavaTypeArbitraryGenerator()) .build(); -
    ← Apply JSR380: Bean Validation 2.0 annotations
    Adding Java class custom annotations →
    \ No newline at end of file +
    ← Apply JSR380: Bean Validation 2.0 annotations
    Adding Java class custom annotations →
    \ No newline at end of file diff --git a/v0-6-0/docs/examples/javaxvalidation/index.html b/v0-6-0/docs/examples/javaxvalidation/index.html index bd83f40b6..6de799561 100644 --- a/v0-6-0/docs/examples/javaxvalidation/index.html +++ b/v0-6-0/docs/examples/javaxvalidation/index.html @@ -60,4 +60,4 @@

    2. Adding plugin option

    FixtureMonkey fixtureMonkey = FixtureMonkey.builder()
         .plugin(new JavaxValidationPlugin())
         .build();
    -
    ← Kotlin
    Altering Java class default value →
    \ No newline at end of file +
    ← Kotlin
    Altering Java class default value →
    \ No newline at end of file diff --git a/v0-6-0/docs/examples/mapset/index.html b/v0-6-0/docs/examples/mapset/index.html index a7068a428..ba6ad5938 100644 --- a/v0-6-0/docs/examples/mapset/index.html +++ b/v0-6-0/docs/examples/mapset/index.html @@ -171,4 +171,4 @@ InnerSpec().property("namesById", m -> m.value("value")) );
    generateBuilder.setInner(
         InnerSpec().property("namesById") { m -> m.value("value") }
    -)

    ← Setting field value
    Setting Nested Map →
    \ No newline at end of file +)

    ← Setting field value
    Setting Nested Map →
    \ No newline at end of file diff --git a/v0-6-0/docs/examples/nestedmapset/index.html b/v0-6-0/docs/examples/nestedmapset/index.html index ab978d3b7..382e1753b 100644 --- a/v0-6-0/docs/examples/nestedmapset/index.html +++ b/v0-6-0/docs/examples/nestedmapset/index.html @@ -100,4 +100,4 @@ InnerSpec().property("stringByMap", m -> m.entry("key", v -> v.entry("innerKey", "innerValue"))) );
    generateBuilder.setInner(
         InnerSpec().property("stringByMap") { m -> m.entry("key") {v -> v.entry("innerKey", "innerValue")} }
    -);
    ← Setting Map
    Altering Container Size →
    \ No newline at end of file +);
    ← Setting Map
    Altering Container Size →
    \ No newline at end of file diff --git a/v0-6-0/docs/examples/newcontainer/index.html b/v0-6-0/docs/examples/newcontainer/index.html index 420dbeb03..7548920d3 100644 --- a/v0-6-0/docs/examples/newcontainer/index.html +++ b/v0-6-0/docs/examples/newcontainer/index.html @@ -244,4 +244,4 @@ new PairDecomposedContainerValueFactory() ) .build(); -
    ← registering default ArbitraryBuilder
    Exclude fields to generate →
    \ No newline at end of file +
    ← registering default ArbitraryBuilder
    Exclude fields to generate →
    \ No newline at end of file diff --git a/v0-6-0/docs/examples/objectgenerator/index.html b/v0-6-0/docs/examples/objectgenerator/index.html index 305ff8dea..dba5e3125 100644 --- a/v0-6-0/docs/examples/objectgenerator/index.html +++ b/v0-6-0/docs/examples/objectgenerator/index.html @@ -93,4 +93,4 @@ ExpandCollapse

    1. Altering instantiating

    BeanArbitraryIntrospector

    Preconditions

    1. No args constructor
    2. Setter

    FieldReflectionArbitraryIntrospector

    Preconditions

    1. No args constructor

    BuilderArbitraryIntrospector

    Preconditions

    1. Builder

    ConstructorPropertiesIntrospector

    Preconditions

    Should satisfy one of below preconditions

    FactoryMethodArbitraryIntrospector

    Preconditions

    PrimaryConstructorArbitraryIntrospector

    Preconditions

    1. Kotlin class
    2. Primary constructor.

    JacksonArbitraryIntrospector

    Preconditions

    1. Adding fixture-monkey-jackson dependency
    2. serializable / deserializable by Jackson

    2. Altering objectIntrospector option

    FixtureMonkey fixtureMonkey = FixtureMonkey.builder()
         .objectIntrospector(selectedIntrospector)
         .build();
    -
    ← Adding Java class custom annotations
    Setting field value →
    \ No newline at end of file +
    ← Adding Java class custom annotations
    Setting field value →
    \ No newline at end of file diff --git a/v0-6-0/docs/examples/register/index.html b/v0-6-0/docs/examples/register/index.html index 99b4e1557..1260cba55 100644 --- a/v0-6-0/docs/examples/register/index.html +++ b/v0-6-0/docs/examples/register/index.html @@ -195,4 +195,4 @@ then(generateString.getValue()).containsOnlyDigits()(); then(generateInt.getValue()).isBetween(1, 100); -
    ← Altering Container Size
    Add new container →
    \ No newline at end of file +
    ← Altering Container Size
    Add new container →
    \ No newline at end of file diff --git a/v0-6-0/docs/examples/removefield/index.html b/v0-6-0/docs/examples/removefield/index.html index cc36c6aa2..270d900eb 100644 --- a/v0-6-0/docs/examples/removefield/index.html +++ b/v0-6-0/docs/examples/removefield/index.html @@ -65,4 +65,4 @@ new CustomFixtureCustomizer() ) .build(); -
    ← Add new container
    Setting object →
    \ No newline at end of file +
    ← Add new container
    Setting object →
    \ No newline at end of file diff --git a/v0-6-0/docs/examples/rootset/index.html b/v0-6-0/docs/examples/rootset/index.html index b16b0f1c4..4c80dea84 100644 --- a/v0-6-0/docs/examples/rootset/index.html +++ b/v0-6-0/docs/examples/rootset/index.html @@ -106,4 +106,4 @@ general expression
    generateBuilder.set(generateObject);
    generateBuilder.set(generateObject);
    generateBuilder.set("$", generateObject);
    Not supporting yet
    ← Exclude fields to generate
    FixtureMonkey →
    \ No newline at end of file +Kotlin Exp
    generateBuilder.set("$", generateObject);
    Not supporting yet
    ← Exclude fields to generate
    FixtureMonkey →
    \ No newline at end of file diff --git a/v0-6-0/docs/getting-started/index.html b/v0-6-0/docs/getting-started/index.html index 1c68b87dc..5522ff057 100644 --- a/v0-6-0/docs/getting-started/index.html +++ b/v0-6-0/docs/getting-started/index.html @@ -190,4 +190,4 @@ .build(); OrderSheet orderSheet = fixtureMonkey.giveMeOne(OrderSheet.class); -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/v0-6-0/docs/getting-started/java/index.html b/v0-6-0/docs/getting-started/java/index.html index f140a467d..ed1be4422 100644 --- a/v0-6-0/docs/getting-started/java/index.html +++ b/v0-6-0/docs/getting-started/java/index.html @@ -95,4 +95,4 @@

    FieldReflectionArbitraryIntrospector

    0. Prerequisites

    1. No args constructor
    2. Getter / Setter

    1. Altering objectIntrospector option

    FixtureMonkey fixtureMonkey = FixtureMonkey.builder()
         .objectIntrospector(FieldReflectionArbitraryIntrospector.INSTANCE)
         .build();
    -

    BeanArbitraryIntrospector

    0. Prerequisites

    1. No args constructor
    2. Setter
    Java with lombok →
    \ No newline at end of file +

    BeanArbitraryIntrospector

    0. Prerequisites

    1. No args constructor
    2. Setter
    Java with lombok →
    \ No newline at end of file diff --git a/v0-6-0/docs/getting-started/kotlin/index.html b/v0-6-0/docs/getting-started/kotlin/index.html index 394295165..df3b07c29 100644 --- a/v0-6-0/docs/getting-started/kotlin/index.html +++ b/v0-6-0/docs/getting-started/kotlin/index.html @@ -81,4 +81,4 @@ .plugin(KotlinPlugin()) .plugin(JacksonPlugin()) .build(); -
    ← Java with lombok
    Apply JSR380: Bean Validation 2.0 annotations →
    \ No newline at end of file +
    ← Java with lombok
    Apply JSR380: Bean Validation 2.0 annotations →
    \ No newline at end of file diff --git a/v0-6-0/docs/getting-started/lombok/index.html b/v0-6-0/docs/getting-started/lombok/index.html index 91044e207..c28ebe5d7 100644 --- a/v0-6-0/docs/getting-started/lombok/index.html +++ b/v0-6-0/docs/getting-started/lombok/index.html @@ -132,4 +132,4 @@

    @NoArgsConstructor + @Setter

    BeanArbitraryIntrospector

    1. Altering objectIntrospector option

    FixtureMonkey fixtureMonkey = FixtureMonkey.builder()
     	.objectIntrospector(BeanArbitraryIntrospector.INSTANCE)
     	.build();
    -
    ← Java
    Kotlin →
    \ No newline at end of file +
    ← Java
    Kotlin →
    \ No newline at end of file diff --git a/v0-6-0/docs/index.html b/v0-6-0/docs/index.html index a78e55963..0a599e3cb 100644 --- a/v0-6-0/docs/index.html +++ b/v0-6-0/docs/index.html @@ -16,4 +16,4 @@ Practices
  • \ No newline at end of file +Third-party Modules
    \ No newline at end of file diff --git a/v0-6-0/docs/migration/index.html b/v0-6-0/docs/migration/index.html index 9801b67c3..a5436ecaa 100644 --- a/v0-6-0/docs/migration/index.html +++ b/v0-6-0/docs/migration/index.html @@ -16,4 +16,4 @@ Practices
  • \ No newline at end of file +Third-party Modules
    \ No newline at end of file diff --git a/v0-6-0/docs/migration/migration/index.html b/v0-6-0/docs/migration/migration/index.html index 84a98e168..0175933b8 100644 --- a/v0-6-0/docs/migration/migration/index.html +++ b/v0-6-0/docs/migration/migration/index.html @@ -124,4 +124,4 @@
    public interface Plugin {
     	void accept(GenerateOptionsBuilder optionsBuilder);
     }
    -

    Interface Plugin is added for better use of third-party library.

    Adding third-party dependency and adding option plugin.

    Plugin overwrites same option, ordering is important.

    ← Arbitrary
    fixture-monkey-jackson →
    \ No newline at end of file +

    Interface Plugin is added for better use of third-party library.

    Adding third-party dependency and adding option plugin.

    Plugin overwrites same option, ordering is important.

    ← Arbitrary
    fixture-monkey-jackson →
    \ No newline at end of file diff --git a/v0-6-0/docs/third-party-modules/fixture-monkey-autoparams/index.html b/v0-6-0/docs/third-party-modules/fixture-monkey-autoparams/index.html index 7565c743c..ca881e076 100644 --- a/v0-6-0/docs/third-party-modules/fixture-monkey-autoparams/index.html +++ b/v0-6-0/docs/third-party-modules/fixture-monkey-autoparams/index.html @@ -109,4 +109,4 @@ then(actual.getProductName()).isEqualTo("factory"); then(actual.getQuantity()).isBetween(5, 10); } -
    ← fixture-monkey-junit-jupiter
    fixture-monkey-engine →
    \ No newline at end of file +
    ← fixture-monkey-junit-jupiter
    fixture-monkey-engine →
    \ No newline at end of file diff --git a/v0-6-0/docs/third-party-modules/fixture-monkey-engine/index.html b/v0-6-0/docs/third-party-modules/fixture-monkey-engine/index.html index d8458bc25..b4f1c7aed 100644 --- a/v0-6-0/docs/third-party-modules/fixture-monkey-engine/index.html +++ b/v0-6-0/docs/third-party-modules/fixture-monkey-engine/index.html @@ -49,4 +49,4 @@ <version>1.1.0</version> <scope>test</scope> </dependency> -
    ← fixture-monkey-autoparams
    fixture-monkey-jakarta-validation →
    \ No newline at end of file +
    ← fixture-monkey-autoparams
    fixture-monkey-jakarta-validation →
    \ No newline at end of file diff --git a/v0-6-0/docs/third-party-modules/fixture-monkey-jackson/index.html b/v0-6-0/docs/third-party-modules/fixture-monkey-jackson/index.html index 9ed4059c8..d5051e2b1 100644 --- a/v0-6-0/docs/third-party-modules/fixture-monkey-jackson/index.html +++ b/v0-6-0/docs/third-party-modules/fixture-monkey-jackson/index.html @@ -125,4 +125,4 @@ then(actual.getQuantity()).isBetween(5, 10); then(actual.getSample()).isNull(); // @JsonIgnore } -
    ← Migration guide
    fixture-monkey-javax-validation →
    \ No newline at end of file +
    ← Migration guide
    fixture-monkey-javax-validation →
    \ No newline at end of file diff --git a/v0-6-0/docs/third-party-modules/fixture-monkey-jakarta-validation/index.html b/v0-6-0/docs/third-party-modules/fixture-monkey-jakarta-validation/index.html index c13b22a96..e492364b5 100644 --- a/v0-6-0/docs/third-party-modules/fixture-monkey-jakarta-validation/index.html +++ b/v0-6-0/docs/third-party-modules/fixture-monkey-jakarta-validation/index.html @@ -53,4 +53,4 @@

    2. Adding option plugin

    FixtureMonkey fixtureMonkey = FixtureMonkey.builder()
         .plugin(new JakartaValidationPlugin())
         .build();
    -
    ← fixture-monkey-engine
    \ No newline at end of file +
    ← fixture-monkey-engine
    \ No newline at end of file diff --git a/v0-6-0/docs/third-party-modules/fixture-monkey-javax-validation/index.html b/v0-6-0/docs/third-party-modules/fixture-monkey-javax-validation/index.html index 2c313bbfa..37e11170e 100644 --- a/v0-6-0/docs/third-party-modules/fixture-monkey-javax-validation/index.html +++ b/v0-6-0/docs/third-party-modules/fixture-monkey-javax-validation/index.html @@ -53,4 +53,4 @@

    2. Adding option plugin

    FixtureMonkey fixtureMonkey = FixtureMonkey.builder()
         .plugin(new JavaxValidationPlugin())
         .build();
    -
    ← fixture-monkey-jackson
    fixture-monkey-kotlin →
    \ No newline at end of file +
    ← fixture-monkey-jackson
    fixture-monkey-kotlin →
    \ No newline at end of file diff --git a/v0-6-0/docs/third-party-modules/fixture-monkey-junit-jupiter/index.html b/v0-6-0/docs/third-party-modules/fixture-monkey-junit-jupiter/index.html index c8a109c32..de270dfec 100644 --- a/v0-6-0/docs/third-party-modules/fixture-monkey-junit-jupiter/index.html +++ b/v0-6-0/docs/third-party-modules/fixture-monkey-junit-jupiter/index.html @@ -45,4 +45,4 @@ <version>1.1.0</version> <scope>test</scope> </dependency> -
    ← fixture-monkey-mockito
    fixture-monkey-autoparams →
    \ No newline at end of file +
    ← fixture-monkey-mockito
    fixture-monkey-autoparams →
    \ No newline at end of file diff --git a/v0-6-0/docs/third-party-modules/fixture-monkey-kotlin/index.html b/v0-6-0/docs/third-party-modules/fixture-monkey-kotlin/index.html index 01d025cc6..99f473590 100644 --- a/v0-6-0/docs/third-party-modules/fixture-monkey-kotlin/index.html +++ b/v0-6-0/docs/third-party-modules/fixture-monkey-kotlin/index.html @@ -88,4 +88,4 @@

    2. Adding option plugin

    FixtureMonkey fixtureMonkey = FixtureMonkey.builder()
         .plugin(KotlinPlugin())
         .build();
    -
    ← fixture-monkey-javax-validation
    fixture-monkey-mockito →
    \ No newline at end of file +
    ← fixture-monkey-javax-validation
    fixture-monkey-mockito →
    \ No newline at end of file diff --git a/v0-6-0/docs/third-party-modules/fixture-monkey-mockito/index.html b/v0-6-0/docs/third-party-modules/fixture-monkey-mockito/index.html index 913e434d8..e54b676ff 100644 --- a/v0-6-0/docs/third-party-modules/fixture-monkey-mockito/index.html +++ b/v0-6-0/docs/third-party-modules/fixture-monkey-mockito/index.html @@ -121,4 +121,4 @@ when(actual.getItem().getName()).thenReturn("ring"); then(actual.getItem().getName()).isEqualTo("ring"); } -
    ← fixture-monkey-kotlin
    fixture-monkey-junit-jupiter →
    \ No newline at end of file +
    ← fixture-monkey-kotlin
    fixture-monkey-junit-jupiter →
    \ No newline at end of file diff --git a/v0-6-0/docs/third-party-modules/index.html b/v0-6-0/docs/third-party-modules/index.html index 90c3db01e..12f700fab 100644 --- a/v0-6-0/docs/third-party-modules/index.html +++ b/v0-6-0/docs/third-party-modules/index.html @@ -16,4 +16,4 @@ Practices
  • \ No newline at end of file +Third-party Modules
    \ No newline at end of file diff --git a/v0-6-0/index.html b/v0-6-0/index.html index a600ed2df..14978bf41 100644 --- a/v0-6-0/index.html +++ b/v0-6-0/index.html @@ -7,4 +7,4 @@ ENG

    The easiest way to generate controllable arbitrary test objects

    Java & Kotlin library for automatically generating reusable and controllable, arbitrary test fixtures

    Simplicity

    Effortlessly generate any kind of test object with just one line of code.

    Complex test objects can be easily generated with the Builder Pattern.

    Reusability

    Define complex specifications once and reuse them!

    Configurations of instances can be reused across multiple tests.

    Randomness

    Make your tests more dynamic by randomly generating test objects.

    You can uncover edge cases that may remain hidden when using static data.

    \ No newline at end of file +Get Started

    The easiest way to generate controllable arbitrary test objects

    Java & Kotlin library for automatically generating reusable and controllable, arbitrary test fixtures

    Simplicity

    Effortlessly generate any kind of test object with just one line of code.

    Complex test objects can be easily generated with the Builder Pattern.

    Reusability

    Define complex specifications once and reuse them!

    Configurations of instances can be reused across multiple tests.

    Randomness

    Make your tests more dynamic by randomly generating test objects.

    You can uncover edge cases that may remain hidden when using static data.

    \ No newline at end of file diff --git a/v0-6-0/tags/index.html b/v0-6-0/tags/index.html index fe5240c22..bdbc5da9c 100644 --- a/v0-6-0/tags/index.html +++ b/v0-6-0/tags/index.html @@ -6,4 +6,4 @@ v0.6.x

    Tags

    \ No newline at end of file +

    Tags

    \ No newline at end of file diff --git a/v1-0-0-kor/404.html b/v1-0-0-kor/404.html index 03fe4a0e1..71a6875b3 100644 --- a/v1-0-0-kor/404.html +++ b/v1-0-0-kor/404.html @@ -6,4 +6,4 @@ v1.0.x

    Page not found :(

    The page you are looking for doesn't exist or has been moved.

    \ No newline at end of file +

    Page not found :(

    The page you are looking for doesn't exist or has been moved.

    \ No newline at end of file diff --git a/v1-0-0-kor/categories/index.html b/v1-0-0-kor/categories/index.html index b4ddb383a..bd2dba1aa 100644 --- a/v1-0-0-kor/categories/index.html +++ b/v1-0-0-kor/categories/index.html @@ -6,4 +6,4 @@ v1.0.x

    Categories

    \ No newline at end of file +

    Categories

    \ No newline at end of file diff --git a/v1-0-0-kor/contributors/index.html b/v1-0-0-kor/contributors/index.html index 00b69584c..2c028d715 100644 --- a/v1-0-0-kor/contributors/index.html +++ b/v1-0-0-kor/contributors/index.html @@ -6,4 +6,4 @@ v1.0.x

    Contributors

    \ No newline at end of file +

    Contributors

    \ No newline at end of file diff --git a/v1-0-0-kor/docs/cheat-sheet/faq/index.html b/v1-0-0-kor/docs/cheat-sheet/faq/index.html index a4a67e312..0557bcb2a 100644 --- a/v1-0-0-kor/docs/cheat-sheet/faq/index.html +++ b/v1-0-0-kor/docs/cheat-sheet/faq/index.html @@ -74,4 +74,4 @@ .sample()

    setPostCondition()을 사용하면 Product 인스턴스가 생성된 후 필터링되므로 제한적인 조건에서 더 높은 비용이 발생할 수 있습니다. 이러한 경우 set()을 대신 사용하는 것이 권장됩니다.

    필드 중 하나가 다른 필드의 값에 의존하고 있습니다. 이러한 픽스처를 커스터마이징 하려면 어떻게 해야 하나요?

    thenApply() 메서드는 다른 필드에 의존하는 필드를 커스터마이징 할 때 유용합니다. 자세한 내용은 thenApply()을 확인해주세요.

    특정 타입을 생성할 때 예외가 발생해요

    먼저 PriorityConstructorArbitraryIntrospector를 사용해보세요. 다음과 같이 사용할 수 있습니다.

    FixtureMonkey.builder()
         .pushExactTypeArbitraryIntrospector(ProblematicType.class, PriorityConstructorArbitraryIntrospector.INSTANCE)
         .build();
    -

    위 옵션을 추가했는데도 동작하지 않는다면, ArbitraryIntrospector을 직접 만들거나 깃허브에 이슈를 만들어주시면 도움을 드리겠습니다.

    ← Kotest 프로퍼티 기반 테스트
    \ No newline at end of file +

    위 옵션을 추가했는데도 동작하지 않는다면, ArbitraryIntrospector을 직접 만들거나 깃허브에 이슈를 만들어주시면 도움을 드리겠습니다.

    ← Kotest 프로퍼티 기반 테스트
    \ No newline at end of file diff --git a/v1-0-0-kor/docs/cheat-sheet/index.html b/v1-0-0-kor/docs/cheat-sheet/index.html index 71bbf98c6..3b9fd6c27 100644 --- a/v1-0-0-kor/docs/cheat-sheet/index.html +++ b/v1-0-0-kor/docs/cheat-sheet/index.html @@ -32,4 +32,4 @@ Jakarta Validation 플러그인
  • \ No newline at end of file +Cheat sheet
    \ No newline at end of file diff --git a/v1-0-0-kor/docs/customizing-objects/apis/index.html b/v1-0-0-kor/docs/customizing-objects/apis/index.html index 7c7ddb9c6..321399c42 100644 --- a/v1-0-0-kor/docs/customizing-objects/apis/index.html +++ b/v1-0-0-kor/docs/customizing-objects/apis/index.html @@ -204,4 +204,4 @@ .zipWith(stringBuilder, (integer, string) -> integer + "" + string);
    val stringBuilder = fixtureMonkey.giveMeBuilder<String>()
     
     val zipped = fixtureMonkey.giveMeBuilder<Int>()
    -    .zipWith(stringBuilder) { int, string -> int.toString() + "" + string }
    ← 인터페이스 생성하기
    표현식 →
    \ No newline at end of file + .zipWith(stringBuilder) { int, string -> int.toString() + "" + string }
    ← 인터페이스 생성하기
    표현식 →
    \ No newline at end of file diff --git a/v1-0-0-kor/docs/customizing-objects/arbitrary/index.html b/v1-0-0-kor/docs/customizing-objects/arbitrary/index.html index de1974a8f..658b92612 100644 --- a/v1-0-0-kor/docs/customizing-objects/arbitrary/index.html +++ b/v1-0-0-kor/docs/customizing-objects/arbitrary/index.html @@ -76,4 +76,4 @@ then(actual.id).isGreaterThanOrEqualTo(1000) then(actual.productName).matches("^[a-z]+$") then(actual.productName.length).isLessThanOrEqualTo(10) -then(actual.productType).matches { it -> it === ProductType.CLOTHING || it === ProductType.ELECTRONICS }

    Jqwik 사용자 가이드에서 Arbitrary에 대한 자세한 내용을 확인하세요.

    ← 표현식
    InnerSpec →
    \ No newline at end of file +then(actual.productType).matches { it -> it === ProductType.CLOTHING || it === ProductType.ELECTRONICS }

    Jqwik 사용자 가이드에서 Arbitrary에 대한 자세한 내용을 확인하세요.

    ← 표현식
    InnerSpec →
    \ No newline at end of file diff --git a/v1-0-0-kor/docs/customizing-objects/expressions/index.html b/v1-0-0-kor/docs/customizing-objects/expressions/index.html index 0096f6791..21616e874 100644 --- a/v1-0-0-kor/docs/customizing-objects/expressions/index.html +++ b/v1-0-0-kor/docs/customizing-objects/expressions/index.html @@ -134,4 +134,4 @@
    표현식을 결합하여 nested 필드 선택:
    javaGetter(JavaClass::getObjectList)
         .index(Nested.class, 0)
         .into(Nested::getNestedField)
    -

    컬렉션 선택하기

    컬렉션의 경우 프로퍼티는 컬렉션 크기 내에 존재하는 경우에만 선택됩니다. 예를 들어, 리스트의 크기가 2이지만 표현식이 목록의 범위를 벗어난 "list[3]"을 참조하는 경우 선택되지 않습니다.

    Fixture Monkey 표현식은 리스트와 세트에서 요소를 선택하는 기능을 지원하지만, 맵의 요소를 직접 선택할 수는 없습니다. 대신, 맵을 커스터마이징해야 하는 경우에는 InnerSpec을 사용할 수 있습니다.

    Expression Strict Mode

    옵션을 켜면 적용된 표현식이 구조와 정확하게 일치하는지 확인할 수 있습니다. 표현식의 일부가 범위를 벗어나거나 유효하지 않은 경우 Fixture Monkey는 예외를 발생시킵니다.

    Kotlin EXP

    Kotlin 플러그인을 추가하면 Kotlin의 프로퍼티 참조 구문을 사용하여 프로퍼티를 선택할 수 있습니다. Fixture Monkey에서는 이 기능을 Kotlin EXP 또는 Fixture Monkey Kotlin DSL이라고 합니다. 사용법에 대한 자세한 내용은 Kotlin DSL Exp를 참조하세요.

    ← 커스터마이징 API
    Arbitrary를 활용한 커스터마이징 →
    \ No newline at end of file +

    컬렉션 선택하기

    컬렉션의 경우 프로퍼티는 컬렉션 크기 내에 존재하는 경우에만 선택됩니다. 예를 들어, 리스트의 크기가 2이지만 표현식이 목록의 범위를 벗어난 "list[3]"을 참조하는 경우 선택되지 않습니다.

    Fixture Monkey 표현식은 리스트와 세트에서 요소를 선택하는 기능을 지원하지만, 맵의 요소를 직접 선택할 수는 없습니다. 대신, 맵을 커스터마이징해야 하는 경우에는 InnerSpec을 사용할 수 있습니다.

    Expression Strict Mode

    옵션을 켜면 적용된 표현식이 구조와 정확하게 일치하는지 확인할 수 있습니다. 표현식의 일부가 범위를 벗어나거나 유효하지 않은 경우 Fixture Monkey는 예외를 발생시킵니다.

    Kotlin EXP

    Kotlin 플러그인을 추가하면 Kotlin의 프로퍼티 참조 구문을 사용하여 프로퍼티를 선택할 수 있습니다. Fixture Monkey에서는 이 기능을 Kotlin EXP 또는 Fixture Monkey Kotlin DSL이라고 합니다. 사용법에 대한 자세한 내용은 Kotlin DSL Exp를 참조하세요.

    ← 커스터마이징 API
    Arbitrary를 활용한 커스터마이징 →
    \ No newline at end of file diff --git a/v1-0-0-kor/docs/customizing-objects/index.html b/v1-0-0-kor/docs/customizing-objects/index.html index 47816eef5..19cc34c4b 100644 --- a/v1-0-0-kor/docs/customizing-objects/index.html +++ b/v1-0-0-kor/docs/customizing-objects/index.html @@ -32,4 +32,4 @@ Jakarta Validation 플러그인
  • \ No newline at end of file +Cheat sheet
    \ No newline at end of file diff --git a/v1-0-0-kor/docs/customizing-objects/innerspec/index.html b/v1-0-0-kor/docs/customizing-objects/innerspec/index.html index 4b6e15698..3f01b45c0 100644 --- a/v1-0-0-kor/docs/customizing-objects/innerspec/index.html +++ b/v1-0-0-kor/docs/customizing-objects/innerspec/index.html @@ -230,4 +230,4 @@ general expression
    InnerSpec().property("stringByMap", m -> m.value(v -> v.entry("key", "value")))
    InnerSpec().property("stringByMap") { m -> m.value { v -> v.entry("key", "value") } }

    만약 엔트리 자체를 설정해야 하는 경우, entry()로 엔트리에 접근하고 InnerSpec을 사용하여 키를 추가로 커스터마이징한 다음, 특정 값을 설정합니다.

    InnerSpec().property("stringByMap", m -> m.entry("key", v -> v.entry("innerKey", "innerValue")))
    InnerSpec().property("stringByMap") { m -> m.entry("key") {v -> v.entry("innerKey", "innerValue")} }
    ← Arbitrary를 활용한 커스터마이징
    인터페이스 커스터마이징 →
    \ No newline at end of file +Kotlin Exp
    InnerSpec().property("stringByMap", m -> m.entry("key", v -> v.entry("innerKey", "innerValue")))
    InnerSpec().property("stringByMap") { m -> m.entry("key") {v -> v.entry("innerKey", "innerValue")} }
    ← Arbitrary를 활용한 커스터마이징
    인터페이스 커스터마이징 →
    \ No newline at end of file diff --git a/v1-0-0-kor/docs/customizing-objects/interface/index.html b/v1-0-0-kor/docs/customizing-objects/interface/index.html index 011aed6cb..1ec5cec0b 100644 --- a/v1-0-0-kor/docs/customizing-objects/interface/index.html +++ b/v1-0-0-kor/docs/customizing-objects/interface/index.html @@ -184,4 +184,4 @@ .set("$", Values.just(new IntegerValueSupplier(-1203))) .set("value", 1) // not works .sample(); -
    ← InnerSpec
    기능 →
    \ No newline at end of file +
    ← InnerSpec
    기능 →
    \ No newline at end of file diff --git a/v1-0-0-kor/docs/fixture-monkey-options/concepts/index.html b/v1-0-0-kor/docs/fixture-monkey-options/concepts/index.html index 4fa48add9..27dc8de16 100644 --- a/v1-0-0-kor/docs/fixture-monkey-options/concepts/index.html +++ b/v1-0-0-kor/docs/fixture-monkey-options/concepts/index.html @@ -85,4 +85,4 @@ 이러한 push 옵션에는 세 가지 바리에이션이 있습니다.

    push 바리에이션을 사용하여 설정한 옵션이 기본 옵션보다 우선한다는 점에 유의해야합니다. -이는 특정 타입에 대해 push 옵션이 정의되면 해당 타입에 해당하는 모든 기본 옵션이 재정의된다는 것을 의미합니다.

    ← 기능
    생성 옵션 →
    \ No newline at end of file +이는 특정 타입에 대해 push 옵션이 정의되면 해당 타입에 해당하는 모든 기본 옵션이 재정의된다는 것을 의미합니다.

    ← 기능
    생성 옵션 →
    \ No newline at end of file diff --git a/v1-0-0-kor/docs/fixture-monkey-options/customization-options/index.html b/v1-0-0-kor/docs/fixture-monkey-options/customization-options/index.html index fb271c34b..bc4a9a556 100644 --- a/v1-0-0-kor/docs/fixture-monkey-options/customization-options/index.html +++ b/v1-0-0-kor/docs/fixture-monkey-options/customization-options/index.html @@ -298,4 +298,4 @@ NullInjectGenerator { context -> NOT_NULL_INJECT } ) ) - .build()

    특정 클래스의 ArbitraryBuilderregister 로 등록하면 .setNotNull("*") 설정과 동일한 결과를 얻을 수 있습니다.

    ← 기타 옵션
    기능 →
    \ No newline at end of file + .build()

    특정 클래스의 ArbitraryBuilderregister 로 등록하면 .setNotNull("*") 설정과 동일한 결과를 얻을 수 있습니다.

    ← 기타 옵션
    기능 →
    \ No newline at end of file diff --git a/v1-0-0-kor/docs/fixture-monkey-options/generation-options/index.html b/v1-0-0-kor/docs/fixture-monkey-options/generation-options/index.html index 5e27fc6fc..cb9c91e0f 100644 --- a/v1-0-0-kor/docs/fixture-monkey-options/generation-options/index.html +++ b/v1-0-0-kor/docs/fixture-monkey-options/generation-options/index.html @@ -394,4 +394,4 @@ // then then(actual).isIn(1, "fixed") -}
    ← 컨셉
    기타 옵션 →
    \ No newline at end of file +}
    ← 컨셉
    기타 옵션 →
    \ No newline at end of file diff --git a/v1-0-0-kor/docs/fixture-monkey-options/index.html b/v1-0-0-kor/docs/fixture-monkey-options/index.html index f62d6f2be..4e0ddc853 100644 --- a/v1-0-0-kor/docs/fixture-monkey-options/index.html +++ b/v1-0-0-kor/docs/fixture-monkey-options/index.html @@ -32,4 +32,4 @@ Jakarta Validation 플러그인
  • \ No newline at end of file +Cheat sheet
    \ No newline at end of file diff --git a/v1-0-0-kor/docs/fixture-monkey-options/other-options/index.html b/v1-0-0-kor/docs/fixture-monkey-options/other-options/index.html index 23000e438..02dfa30d6 100644 --- a/v1-0-0-kor/docs/fixture-monkey-options/other-options/index.html +++ b/v1-0-0-kor/docs/fixture-monkey-options/other-options/index.html @@ -92,4 +92,4 @@ .plugin(new JacksonPlugin()) .build();
    val fixtureMonkey = FixtureMonkey.builder()
         .plugin(JacksonPlugin())
    -    .build()
    ← 생성 옵션
    커스터마이징 옵션 →
    \ No newline at end of file + .build()
    ← 생성 옵션
    커스터마이징 옵션 →
    \ No newline at end of file diff --git a/v1-0-0-kor/docs/generating-objects/fixture-monkey/index.html b/v1-0-0-kor/docs/generating-objects/fixture-monkey/index.html index ad7de87de..0b9ec49c3 100644 --- a/v1-0-0-kor/docs/generating-objects/fixture-monkey/index.html +++ b/v1-0-0-kor/docs/generating-objects/fixture-monkey/index.html @@ -175,4 +175,4 @@ Arbitrary<List<String>> strListArbitrary = fixtureMonkey.giveMeArbitrary(new TypeReference<List<String>>() {});
    val productArbitrary: Arbitrary<Product> = fixtureMonkey.giveMeArbitrary()
     
    -val strListArbitrary: Arbitrary<List<String>> = fixtureMonkey.giveMeArbitrary()
    ← Kotlin 환경에서 테스트 객체 생성하기
    객체 생성 방법 지정하기 →
    \ No newline at end of file +val strListArbitrary: Arbitrary<List<String>> = fixtureMonkey.giveMeArbitrary()
    ← Kotlin 환경에서 테스트 객체 생성하기
    객체 생성 방법 지정하기 →
    \ No newline at end of file diff --git a/v1-0-0-kor/docs/generating-objects/generating-complex-types/index.html b/v1-0-0-kor/docs/generating-objects/generating-complex-types/index.html index 067bb616b..611471197 100644 --- a/v1-0-0-kor/docs/generating-objects/generating-complex-types/index.html +++ b/v1-0-0-kor/docs/generating-objects/generating-complex-types/index.html @@ -236,4 +236,4 @@ @JvmInline value class ValueClass(val foo: String) -
    ← 객체 생성 방법 지정하기
    Introspector →
    \ No newline at end of file +
    ← 객체 생성 방법 지정하기
    Introspector →
    \ No newline at end of file diff --git a/v1-0-0-kor/docs/generating-objects/generating-interface/index.html b/v1-0-0-kor/docs/generating-objects/generating-interface/index.html index 84845e595..d13e08816 100644 --- a/v1-0-0-kor/docs/generating-objects/generating-interface/index.html +++ b/v1-0-0-kor/docs/generating-objects/generating-interface/index.html @@ -240,4 +240,4 @@ SealedDefaultStringSupplier stringSupplier = (SealedDefaultStringSupplier)fixture.giveMeOne(SealedStringSupplier.class);

    이번 장에서는 인터페이스 타입을 생성하는 방법을 간단한 예제를 보며 배웠습니다. 인터페이스를 생성하는 데 문제가 있다면 InterfacePlugin 옵션들을 살펴보세요. -그래도 문제가 해결되지 않는다면 GitHub에 재현 가능한 예제를 포함한 이슈를 올려주세요.

    ← Introspector
    커스터마이징 API →
    \ No newline at end of file +그래도 문제가 해결되지 않는다면 GitHub에 재현 가능한 예제를 포함한 이슈를 올려주세요.

    ← Introspector
    커스터마이징 API →
    \ No newline at end of file diff --git a/v1-0-0-kor/docs/generating-objects/index.html b/v1-0-0-kor/docs/generating-objects/index.html index 78e25a529..6471f05c5 100644 --- a/v1-0-0-kor/docs/generating-objects/index.html +++ b/v1-0-0-kor/docs/generating-objects/index.html @@ -32,4 +32,4 @@ Jakarta Validation 플러그인
  • \ No newline at end of file +Cheat sheet
    \ No newline at end of file diff --git a/v1-0-0-kor/docs/generating-objects/instantiate-methods/index.html b/v1-0-0-kor/docs/generating-objects/instantiate-methods/index.html index 9bc63c943..300c2dc0e 100644 --- a/v1-0-0-kor/docs/generating-objects/instantiate-methods/index.html +++ b/v1-0-0-kor/docs/generating-objects/instantiate-methods/index.html @@ -476,4 +476,4 @@ filter { "string" != it.name } } } -}

    예를 들어 첫 번째 예시와 같이 private 필드가 생성되지 않도록 제외하거나 두 번째 예시와 같이 특정 속성을 이름별로 필터링할 수 있습니다.

    ← FixtureMonkey
    복잡한 객체 생성하기 →
    \ No newline at end of file +}

    예를 들어 첫 번째 예시와 같이 private 필드가 생성되지 않도록 제외하거나 두 번째 예시와 같이 특정 속성을 이름별로 필터링할 수 있습니다.

    ← FixtureMonkey
    복잡한 객체 생성하기 →
    \ No newline at end of file diff --git a/v1-0-0-kor/docs/generating-objects/introspector/index.html b/v1-0-0-kor/docs/generating-objects/introspector/index.html index 4ac389de9..4858a006f 100644 --- a/v1-0-0-kor/docs/generating-objects/introspector/index.html +++ b/v1-0-0-kor/docs/generating-objects/introspector/index.html @@ -100,4 +100,4 @@ 기본 조건은 constructor -> !Modifier.isPrivate(constructor.getModifiers())입니다.

    sortingCriteria

    constructorFilter 조건을 만족하는 생성자가 여러 개 일경우 추가적으로 sortingCriteria 조건을 사용해서 생성자를 결정합니다.
    Comparator<Constructor<?>>로 정렬했을 때 첫 번째 생성자를 사용합니다.

    sortingCriteriawithSortingCriteria를 사용해서 변경할 수 있습니다. 기본 설정은 생성자 수가 가장 적은 생성자입니다. `Comparator.comparing(Constructor::getParameterCount)

    parameterNamesResolver

    다음 세 가지 조건 중 하나도 만족하지 않으면 픽스쳐 몽키에서 생성자 파라미터 이름을 인식할 수 없습니다.

    생성자 파라미터 이름을 인식하지 못하면 ArbitraryBuilder API를 사용해 생성자 파라미터를 제어할 수 없습니다.

    PriorityConstructorArbitraryIntrospector에서 parameterNamesResolver를 사용해 파라미터 이름을 인식합니다. parameterNamesResolverwithParameterNamesResolver를 사용해서 변경할 수 있습니다. -입력한 파라미터 이름은 항상 파라미터 순서와 동일해야 합니다.


    플러그인 별로 관련된 introspector도 존재합니다. 예를들어 JacksonObjectArbitraryIntrospectorPrimaryConstructorArbitraryIntrospector가 존재합니다.

    ← 복잡한 객체 생성하기
    인터페이스 생성하기 →
    \ No newline at end of file +입력한 파라미터 이름은 항상 파라미터 순서와 동일해야 합니다.


    플러그인 별로 관련된 introspector도 존재합니다. 예를들어 JacksonObjectArbitraryIntrospectorPrimaryConstructorArbitraryIntrospector가 존재합니다.

    ← 복잡한 객체 생성하기
    인터페이스 생성하기 →
    \ No newline at end of file diff --git a/v1-0-0-kor/docs/get-started/adding-bean-validation/index.html b/v1-0-0-kor/docs/get-started/adding-bean-validation/index.html index f6f9291c4..5de22c26b 100644 --- a/v1-0-0-kor/docs/get-started/adding-bean-validation/index.html +++ b/v1-0-0-kor/docs/get-started/adding-bean-validation/index.html @@ -2,19 +2,19 @@ com.navercorp.fixturemonkey fixture-monkey-jackson 1.1.0 test 플러그인 # Java Kotlin FixtureMonkey fixtureMonkey = FixtureMonkey.builder() .plugin(new JacksonPlugin()) .build(); val fixtureMonkey = FixtureMonkey.builder() .plugin(JacksonPlugin()) .build() JacksonPlugin을 사용할 때 사용자 정의 객체 매퍼를 사용하고싶다면 JacksonPlugin 생성자에 objectMapper를 전달해줄 수 있습니다. +JacksonObjectArbitraryIntrospector를 기본 introspector로 사용하여 Jackson 객체 매퍼를 통해 객체를 생성하는 기능을 지원합니다. @JsonIgnore, @JsonProperty와 같은 Jackson 어노테이션을 지원합니다. 의존성 # Gradle # testImplementation("com.navercorp.fixturemonkey:fixture-monkey-jackson:1.1.1") Maven # com.navercorp.fixturemonkey fixture-monkey-jackson 1.1.1 test 플러그인 # Java Kotlin FixtureMonkey fixtureMonkey = FixtureMonkey.builder() .plugin(new JacksonPlugin()) .build(); val fixtureMonkey = FixtureMonkey.builder() .plugin(JacksonPlugin()) .build() JacksonPlugin을 사용할 때 사용자 정의 객체 매퍼를 사용하고싶다면 JacksonPlugin 생성자에 objectMapper를 전달해줄 수 있습니다. '> options; Instant createdAt; } JacksonObjectArbitraryIntrospector 사용 : Java Kotlin @Test void test() { FixtureMonkey fixtureMonkey = FixtureMonkey.builder() .plugin(new JacksonPlugin()) .build(); Product product = fixtureMonkey.giveMeOne(Product.class); } testImplementation("com.navercorp.fixturemonkey:fixture-monkey-starter-kotlin:1.1.0") testImplementation("com.fasterxml.jackson.module:jackson-module-kotlin") @Test fun test() { FixtureMonkey fixtureMonkey = FixtureMonkey.builder() .plugin(KotlinPlugin()) .plugin(JacksonPlugin()) .build(); val product: Product = fixtureMonkey.giveMeOne() } '> com.navercorp.fixturemonkey fixture-monkey-kotest 1.1.0 test 플러그인 # val fixtureMonkey = FixtureMonkey.builder() .plugin(KotestPlugin()) .plugin(KotlinPlugin()) .build() '> com.navercorp.fixturemonkey fixture-monkey-kotlin 1.1.0 test fixture-monkey-starter-kotlin # Kotlin 환경에서 Fixture Monkey 를 사용하는 것을 돕기 위해 fixture-monkey-starter 나 fixture-monkey-jakarta-validation 와 같은 사전 구성된 종속성들로 구성되어 있는 스타터 패키지 fixture-monkey-kotlin-starter 를 제공합니다. +PrimaryConstructorArbitraryIntrospector 를 기본 Introspector 로 적용하여 Kotlin 클래스를 주 생성자로 생성 Fixture Monkey 의 Kotlin 확장 함수 제공 Kotlin DSL 표현식 및 instantiateBy DSL 제공 종속성 # fixture-monkey-kotlin # Gradle # testImplementation("com.navercorp.fixturemonkey:fixture-monkey-kotlin:1.1.1") Maven # com.navercorp.fixturemonkey fixture-monkey-kotlin 1.1.1 test fixture-monkey-starter-kotlin # Kotlin 환경에서 Fixture Monkey 를 사용하는 것을 돕기 위해 fixture-monkey-starter 나 fixture-monkey-jakarta-validation 와 같은 사전 구성된 종속성들로 구성되어 있는 스타터 패키지 fixture-monkey-kotlin-starter 를 제공합니다. '> \ No newline at end of file +

    Page not found :(

    The page you are looking for doesn't exist or has been moved.

    \ No newline at end of file diff --git a/v1-0-0/categories/index.html b/v1-0-0/categories/index.html index fdf2fba17..0ce28438d 100644 --- a/v1-0-0/categories/index.html +++ b/v1-0-0/categories/index.html @@ -6,4 +6,4 @@ v1.0.x

    Categories

    \ No newline at end of file +

    Categories

    \ No newline at end of file diff --git a/v1-0-0/contributors/index.html b/v1-0-0/contributors/index.html index 314bbd8d9..0d5ec04fc 100644 --- a/v1-0-0/contributors/index.html +++ b/v1-0-0/contributors/index.html @@ -6,4 +6,4 @@ v1.0.x

    Contributors

    \ No newline at end of file +

    Contributors

    \ No newline at end of file diff --git a/v1-0-0/docs/cheat-sheet/faq/index.html b/v1-0-0/docs/cheat-sheet/faq/index.html index b1e031166..eab6ad4d1 100644 --- a/v1-0-0/docs/cheat-sheet/faq/index.html +++ b/v1-0-0/docs/cheat-sheet/faq/index.html @@ -77,4 +77,4 @@ For more information, check the thenApply() section

    Throws an exception when generating a certain type

    Use PriorityConstructorArbitraryIntrospector first. Apply as shown below.

    FixtureMonkey.builder()
         .pushExactTypeArbitraryIntrospector(ProblematicType.class, PriorityConstructorArbitraryIntrospector.INSTANCE)
         .build();
    -

    If it does not work, please try to make your own ArbitraryIntrospector or create an issue on github and ask for help.

    ← Kotest Property Based Testing
    \ No newline at end of file +

    If it does not work, please try to make your own ArbitraryIntrospector or create an issue on github and ask for help.

    ← Kotest Property Based Testing
    \ No newline at end of file diff --git a/v1-0-0/docs/cheat-sheet/index.html b/v1-0-0/docs/cheat-sheet/index.html index 2ff2a3e34..48f446581 100644 --- a/v1-0-0/docs/cheat-sheet/index.html +++ b/v1-0-0/docs/cheat-sheet/index.html @@ -32,4 +32,4 @@ Jakarta Validation Plugin
  • \ No newline at end of file +Cheat sheet
    \ No newline at end of file diff --git a/v1-0-0/docs/customizing-objects/apis/index.html b/v1-0-0/docs/customizing-objects/apis/index.html index 6bcf441bd..26c7f2044 100644 --- a/v1-0-0/docs/customizing-objects/apis/index.html +++ b/v1-0-0/docs/customizing-objects/apis/index.html @@ -206,4 +206,4 @@ .zipWith(stringBuilder, (integer, string) -> integer + "" + string);
    val stringBuilder = fixtureMonkey.giveMeBuilder<String>()
     
     val zipped = fixtureMonkey.giveMeBuilder<Int>()
    -    .zipWith(stringBuilder) { int, string -> int.toString() + "" + string }
    ← Generating Interface Type
    Expressions →
    \ No newline at end of file + .zipWith(stringBuilder) { int, string -> int.toString() + "" + string }
    ← Generating Interface Type
    Expressions →
    \ No newline at end of file diff --git a/v1-0-0/docs/customizing-objects/arbitrary/index.html b/v1-0-0/docs/customizing-objects/arbitrary/index.html index 25a5149e7..b92e91364 100644 --- a/v1-0-0/docs/customizing-objects/arbitrary/index.html +++ b/v1-0-0/docs/customizing-objects/arbitrary/index.html @@ -76,4 +76,4 @@ then(actual.id).isGreaterThanOrEqualTo(1000) then(actual.productName).matches("^[a-z]+$") then(actual.productName.length).isLessThanOrEqualTo(10) -then(actual.productType).matches { it -> it === ProductType.CLOTHING || it === ProductType.ELECTRONICS }

    For further details about Jqwik and Arbitrary, check out Jqwik User Guide

    ← Expressions
    InnerSpec →
    \ No newline at end of file +then(actual.productType).matches { it -> it === ProductType.CLOTHING || it === ProductType.ELECTRONICS }

    For further details about Jqwik and Arbitrary, check out Jqwik User Guide

    ← Expressions
    InnerSpec →
    \ No newline at end of file diff --git a/v1-0-0/docs/customizing-objects/expressions/index.html b/v1-0-0/docs/customizing-objects/expressions/index.html index 8eeda94e9..98153dd07 100644 --- a/v1-0-0/docs/customizing-objects/expressions/index.html +++ b/v1-0-0/docs/customizing-objects/expressions/index.html @@ -139,4 +139,4 @@ However, if you need to customize a map, consider using the InnerSpec method.

    Expression Strict Mode

    This option can be turned on to ensure applied expressions strictly match the structure. If any part of an expression is out of bounds or invalid, Fixture Monkey will raise an exception.

    Kotlin EXP

    By adding the Kotlin plugin, you can select properties using Kotlin’s property reference syntax. In Fixture Monkey, this feature is referred to as Kotlin EXP or the Fixture Monkey Kotlin DSL. -For further details on its usage, refer to the Kotlin DSL Exp page.

    ← Fixture Customization APIs
    Customizing random values with Arbitrary →
    \ No newline at end of file +For further details on its usage, refer to the Kotlin DSL Exp page.

    ← Fixture Customization APIs
    Customizing random values with Arbitrary →
    \ No newline at end of file diff --git a/v1-0-0/docs/customizing-objects/index.html b/v1-0-0/docs/customizing-objects/index.html index b3c68c846..10f7af295 100644 --- a/v1-0-0/docs/customizing-objects/index.html +++ b/v1-0-0/docs/customizing-objects/index.html @@ -32,4 +32,4 @@ Jakarta Validation Plugin
  • \ No newline at end of file +Cheat sheet
    \ No newline at end of file diff --git a/v1-0-0/docs/customizing-objects/innerspec/index.html b/v1-0-0/docs/customizing-objects/innerspec/index.html index 6e653f422..829ef63ac 100644 --- a/v1-0-0/docs/customizing-objects/innerspec/index.html +++ b/v1-0-0/docs/customizing-objects/innerspec/index.html @@ -220,4 +220,4 @@ general expression
    InnerSpec().property("stringByMap", m -> m.value(v -> v.entry("key", "value")))
    InnerSpec().property("stringByMap") { m -> m.value { v -> v.entry("key", "value") } }

    If you need to set the entry itself, access the entry with entry() and further customize the value using InnerSpec, then set the specific key.

    InnerSpec().property("stringByMap", m -> m.entry("key", v -> v.entry("innerKey", "innerValue")))
    InnerSpec().property("stringByMap") { m -> m.entry("key") {v -> v.entry("innerKey", "innerValue")} }
    ← Customizing random values with Arbitrary
    Customizing Interface →
    \ No newline at end of file +Kotlin Exp
    InnerSpec().property("stringByMap", m -> m.entry("key", v -> v.entry("innerKey", "innerValue")))
    InnerSpec().property("stringByMap") { m -> m.entry("key") {v -> v.entry("innerKey", "innerValue")} }
    ← Customizing random values with Arbitrary
    Customizing Interface →
    \ No newline at end of file diff --git a/v1-0-0/docs/customizing-objects/interface/index.html b/v1-0-0/docs/customizing-objects/interface/index.html index 9052a6c83..c9b421565 100644 --- a/v1-0-0/docs/customizing-objects/interface/index.html +++ b/v1-0-0/docs/customizing-objects/interface/index.html @@ -182,4 +182,4 @@ .set("$", Values.just(new IntegerValueSupplier(-1203))) .set("value", 1) // not works .sample(); -
    ← InnerSpec
    Concepts →
    \ No newline at end of file +
    ← InnerSpec
    Concepts →
    \ No newline at end of file diff --git a/v1-0-0/docs/fixture-monkey-options/concepts/index.html b/v1-0-0/docs/fixture-monkey-options/concepts/index.html index c33a919c2..6588673d4 100644 --- a/v1-0-0/docs/fixture-monkey-options/concepts/index.html +++ b/v1-0-0/docs/fixture-monkey-options/concepts/index.html @@ -82,4 +82,4 @@

    Options

    In Fixture Monkey, several options share common characteristics. For example, let’s take a look at the options related to modifying the ObjectPropertyGenerator

    defaultObjectPropertyGenerator, pushObjectPropertyGenerator, pushAssignableTypeObjectPropertyGenerator, pushExactTypeObjectPropertyGenerator

    Options with the prefix default are applied as defaults to all properties generated by Fixture Monkey. These defaults set a basic behavior that affects all property types uniformly.

    However, if you need to apply specific options for a particular type, you can make use of the options that start with push. -There are three variations of these push options.

    It’s important to note that options set using the push variants take precedence over the default options. This means that when a push option is defined for a specific type, it will override any corresponding default option for that type.

    ← Customizing Interface
    Features →
    \ No newline at end of file +There are three variations of these push options.

    It’s important to note that options set using the push variants take precedence over the default options. This means that when a push option is defined for a specific type, it will override any corresponding default option for that type.

    ← Customizing Interface
    Features →
    \ No newline at end of file diff --git a/v1-0-0/docs/fixture-monkey-options/customization-options/index.html b/v1-0-0/docs/fixture-monkey-options/customization-options/index.html index ddba72819..70afbc73c 100644 --- a/v1-0-0/docs/fixture-monkey-options/customization-options/index.html +++ b/v1-0-0/docs/fixture-monkey-options/customization-options/index.html @@ -294,4 +294,4 @@ NullInjectGenerator { context -> NOT_NULL_INJECT } ) ) - .build()

    Registering an ArbitraryBuilder of a specific class with register that has the .setNotNull("*") setting will have the same effect.

    ← Generation Options
    Other Options →
    \ No newline at end of file + .build()

    Registering an ArbitraryBuilder of a specific class with register that has the .setNotNull("*") setting will have the same effect.

    ← Generation Options
    Other Options →
    \ No newline at end of file diff --git a/v1-0-0/docs/fixture-monkey-options/generation-options/index.html b/v1-0-0/docs/fixture-monkey-options/generation-options/index.html index 9bbf15544..388e83458 100644 --- a/v1-0-0/docs/fixture-monkey-options/generation-options/index.html +++ b/v1-0-0/docs/fixture-monkey-options/generation-options/index.html @@ -382,4 +382,4 @@ // then then(actual).isIn(1, "fixed") -}
    ← Features
    Customization Options →
    \ No newline at end of file +}
    ← Features
    Customization Options →
    \ No newline at end of file diff --git a/v1-0-0/docs/fixture-monkey-options/index.html b/v1-0-0/docs/fixture-monkey-options/index.html index 264497fd5..815e7f8d5 100644 --- a/v1-0-0/docs/fixture-monkey-options/index.html +++ b/v1-0-0/docs/fixture-monkey-options/index.html @@ -32,4 +32,4 @@ Jakarta Validation Plugin
  • \ No newline at end of file +Cheat sheet
    \ No newline at end of file diff --git a/v1-0-0/docs/fixture-monkey-options/other-options/index.html b/v1-0-0/docs/fixture-monkey-options/other-options/index.html index 8b800a454..a31a94d68 100644 --- a/v1-0-0/docs/fixture-monkey-options/other-options/index.html +++ b/v1-0-0/docs/fixture-monkey-options/other-options/index.html @@ -92,4 +92,4 @@ .plugin(new JacksonPlugin()) .build();
    val fixtureMonkey = FixtureMonkey.builder()
         .plugin(JacksonPlugin())
    -    .build()
    ← Customization Options
    Features →
    \ No newline at end of file + .build()
    ← Customization Options
    Features →
    \ No newline at end of file diff --git a/v1-0-0/docs/generating-objects/fixture-monkey/index.html b/v1-0-0/docs/generating-objects/fixture-monkey/index.html index 9eb9b315e..33a65bfe9 100644 --- a/v1-0-0/docs/generating-objects/fixture-monkey/index.html +++ b/v1-0-0/docs/generating-objects/fixture-monkey/index.html @@ -148,4 +148,4 @@ Arbitrary<List<String>> strListArbitrary = fixtureMonkey.giveMeArbitrary(new TypeReference<List<String>>() {});
    val productArbitrary: Arbitrary<Product> = fixtureMonkey.giveMeArbitrary()
     
    -val strListArbitrary: Arbitrary<List<String>> = fixtureMonkey.giveMeArbitrary()
    ← Creating objects in Kotlin
    Generating Complex Types →
    \ No newline at end of file +val strListArbitrary: Arbitrary<List<String>> = fixtureMonkey.giveMeArbitrary()
    ← Creating objects in Kotlin
    Generating Complex Types →
    \ No newline at end of file diff --git a/v1-0-0/docs/generating-objects/generating-complex-types/index.html b/v1-0-0/docs/generating-objects/generating-complex-types/index.html index 4d13dd841..e711916cb 100644 --- a/v1-0-0/docs/generating-objects/generating-complex-types/index.html +++ b/v1-0-0/docs/generating-objects/generating-complex-types/index.html @@ -236,4 +236,4 @@ @JvmInline value class ValueClass(val foo: String) -
    ← FixtureMonkey
    Instantiate Methods →
    \ No newline at end of file +
    ← FixtureMonkey
    Instantiate Methods →
    \ No newline at end of file diff --git a/v1-0-0/docs/generating-objects/generating-interface/index.html b/v1-0-0/docs/generating-objects/generating-interface/index.html index f754c5e08..4985853da 100644 --- a/v1-0-0/docs/generating-objects/generating-interface/index.html +++ b/v1-0-0/docs/generating-objects/generating-interface/index.html @@ -242,4 +242,4 @@ SealedDefaultStringSupplier stringSupplier = (SealedDefaultStringSupplier)fixture.giveMeOne(SealedStringSupplier.class);

    This chapter illustrates how to create an interface type. If you get stuck, all you need to remember is the `InterfacePlugin’ plugin. -If the plugin doesn’t solve your problem, please post a bug with a reproducible example.

    ← Introspector
    Fixture Customization APIs →
    \ No newline at end of file +If the plugin doesn’t solve your problem, please post a bug with a reproducible example.

    ← Introspector
    Fixture Customization APIs →
    \ No newline at end of file diff --git a/v1-0-0/docs/generating-objects/index.html b/v1-0-0/docs/generating-objects/index.html index 76ca3c182..55c1e42a2 100644 --- a/v1-0-0/docs/generating-objects/index.html +++ b/v1-0-0/docs/generating-objects/index.html @@ -32,4 +32,4 @@ Jakarta Validation Plugin
  • \ No newline at end of file +Cheat sheet
    \ No newline at end of file diff --git a/v1-0-0/docs/generating-objects/instantiate-methods/index.html b/v1-0-0/docs/generating-objects/instantiate-methods/index.html index 259143549..6d712a4d9 100644 --- a/v1-0-0/docs/generating-objects/instantiate-methods/index.html +++ b/v1-0-0/docs/generating-objects/instantiate-methods/index.html @@ -471,4 +471,4 @@ filter { "string" != it.name } } } -}

    For example, you can exclude private fields from being generated as shown in the first example, or you can filter out certain properties by name, as demonstrated in the second example.

    ← Generating Complex Types
    Introspector →
    \ No newline at end of file +}

    For example, you can exclude private fields from being generated as shown in the first example, or you can filter out certain properties by name, as demonstrated in the second example.

    ← Generating Complex Types
    Introspector →
    \ No newline at end of file diff --git a/v1-0-0/docs/generating-objects/introspector/index.html b/v1-0-0/docs/generating-objects/introspector/index.html index bbc453786..bc0cbad66 100644 --- a/v1-0-0/docs/generating-objects/introspector/index.html +++ b/v1-0-0/docs/generating-objects/introspector/index.html @@ -97,4 +97,4 @@ Comparator.comparing(Constructor::getParameterCount)

    parameterNamesResolver

    Fixture Monkey cannot recognise constructor parameter names if any of the following three conditions are not met.

    If you do not recognise constructor parameter names, you cannot use the ArbitraryBuilder API to control constructor parameters.

    The PriorityConstructorArbitraryIntrospector uses the parameterNamesResolver to recognise parameter names. The parameterNamesResolver can be changed using withParameterNamesResolver. The entered parameter names must always be the same as the parameter order.


    Additional introspectors have been introduced inside plugins, such as JacksonObjectArbitraryIntrospector or -PrimaryConstructorArbitraryIntrospector

    ← Instantiate Methods
    Generating Interface Type →
    \ No newline at end of file +PrimaryConstructorArbitraryIntrospector

    ← Instantiate Methods
    Generating Interface Type →
    \ No newline at end of file diff --git a/v1-0-0/docs/get-started/adding-bean-validation/index.html b/v1-0-0/docs/get-started/adding-bean-validation/index.html index 85a2a6e80..c42a18650 100644 --- a/v1-0-0/docs/get-started/adding-bean-validation/index.html +++ b/v1-0-0/docs/get-started/adding-bean-validation/index.html @@ -2,18 +2,18 @@ com.navercorp.fixturemonkey fixture-monkey-jackson 1.1.0 test Plugin # Java Kotlin FixtureMonkey fixtureMonkey = FixtureMonkey.builder() .plugin(new JacksonPlugin()) .build(); val fixtureMonkey = FixtureMonkey.builder() .plugin(JacksonPlugin()) .build() Pass the object mapper to the JacksonPlugin constructor if you are using Jackson with a custom object mapper. +Supports the use of JacksonObjectArbitraryIntrospector as the default introspector to create objects using the Jackson object mapper. Supports Jackson Annotations such as, @JsonIgnore, @JsonProperty Dependencies # Gradle # testImplementation("com.navercorp.fixturemonkey:fixture-monkey-jackson:1.1.1") Maven # com.navercorp.fixturemonkey fixture-monkey-jackson 1.1.1 test Plugin # Java Kotlin FixtureMonkey fixtureMonkey = FixtureMonkey.builder() .plugin(new JacksonPlugin()) .build(); val fixtureMonkey = FixtureMonkey.builder() .plugin(JacksonPlugin()) .build() Pass the object mapper to the JacksonPlugin constructor if you are using Jackson with a custom object mapper. '> options; Instant createdAt; } Using JacksonObjectArbitraryIntrospector : Java Kotlin @Test void test() { FixtureMonkey fixtureMonkey = FixtureMonkey.builder() .plugin(new JacksonPlugin()) .build(); Product product = fixtureMonkey.giveMeOne(Product.class); } testImplementation("com.navercorp.fixturemonkey:fixture-monkey-starter-kotlin:1.1.0") testImplementation("com.fasterxml.jackson.module:jackson-module-kotlin") @Test fun test() { FixtureMonkey fixtureMonkey = FixtureMonkey.builder() .plugin(KotlinPlugin()) .plugin(JacksonPlugin()) .build(); val product: Product = fixtureMonkey.giveMeOne() } '> com.navercorp.fixturemonkey fixture-monkey-jakarta-validation 1.1.0 test The jakarta validation API and the Hibernate validator are already provided as part of the dependency. +💡 Javax Bean Validation is also supported with the Fixture Monkey Javax Validation Plugin Dependencies # Gradle # testImplementation("com.navercorp.fixturemonkey:jakarta-validation:1.1.1") Maven # com.navercorp.fixturemonkey fixture-monkey-jakarta-validation 1.1.1 test The jakarta validation API and the Hibernate validator are already provided as part of the dependency. Plugin # Java Kotlin FixtureMonkey fixtureMonkey = FixtureMonkey.builder() .plugin(new JakartaValidationPlugin()) .build(); val fixtureMonkey = FixtureMonkey.builder() .plugin(JakartaValidationPlugin()) .build() '> com.navercorp.fixturemonkey fixture-monkey-kotest 1.1.0 test Plugin # val fixtureMonkey = FixtureMonkey.builder() .plugin(KotestPlugin()) .plugin(KotlinPlugin()) .build() '>

    Dependencies

    fixture-monkey-kotlin

    Gradle

    testImplementation("com.navercorp.fixturemonkey:fixture-monkey-kotest:1.1.0")
    +ExpandCollapse

    The Kotest plugin provided by Fixture Monkey allows you to enhance your testing experience within the Kotest framework.

    Dependencies

    fixture-monkey-kotlin

    Gradle

    testImplementation("com.navercorp.fixturemonkey:fixture-monkey-kotest:1.1.1")
     

    Maven

    <dependency>
       <groupId>com.navercorp.fixturemonkey</groupId>
       <artifactId>fixture-monkey-kotest</artifactId>
    -  <version>1.1.0</version>
    +  <version>1.1.1</version>
       <scope>test</scope>
     </dependency>
     

    Plugin

    val fixtureMonkey = FixtureMonkey.builder()
         .plugin(KotestPlugin())
         .plugin(KotlinPlugin())
         .build()
    -
    \ No newline at end of file +
    ← Bean Validation
    Fixture Monkey Helper →
    \ No newline at end of file diff --git a/v1-0-0/docs/plugins/kotest-plugin/index.html b/v1-0-0/docs/plugins/kotest-plugin/index.html index 6dbf3ce98..6c98a867e 100644 --- a/v1-0-0/docs/plugins/kotest-plugin/index.html +++ b/v1-0-0/docs/plugins/kotest-plugin/index.html @@ -32,4 +32,4 @@ Jakarta Validation Plugin
  • \ No newline at end of file +Cheat sheet
    \ No newline at end of file diff --git a/v1-0-0/docs/plugins/kotest-plugin/index.xml b/v1-0-0/docs/plugins/kotest-plugin/index.xml index f15c4be05..0fc4bb1d2 100644 --- a/v1-0-0/docs/plugins/kotest-plugin/index.xml +++ b/v1-0-0/docs/plugins/kotest-plugin/index.xml @@ -13,13 +13,13 @@ <h2 id="dependencies">Dependencies <a href="#dependencies" class="anchor" aria-hidden="true">#</a></h2> <h5 id="fixture-monkey-kotlin">fixture-monkey-kotlin <a href="#fixture-monkey-kotlin" class="anchor" aria-hidden="true">#</a></h5> <h4 id="gradle">Gradle <a href="#gradle" class="anchor" aria-hidden="true">#</a></h4> -<pre><code class="language-groovy">testImplementation(&quot;com.navercorp.fixturemonkey:fixture-monkey-kotest:1.1.0&quot;) +<pre><code class="language-groovy">testImplementation(&quot;com.navercorp.fixturemonkey:fixture-monkey-kotest:1.1.1&quot;) </code></pre> <h4 id="maven">Maven <a href="#maven" class="anchor" aria-hidden="true">#</a></h4> <pre><code class="language-xml">&lt;dependency&gt; &lt;groupId&gt;com.navercorp.fixturemonkey&lt;/groupId&gt; &lt;artifactId&gt;fixture-monkey-kotest&lt;/artifactId&gt; - &lt;version&gt;1.1.0&lt;/version&gt; + &lt;version&gt;1.1.1&lt;/version&gt; &lt;scope&gt;test&lt;/scope&gt; &lt;/dependency&gt; </code></pre> diff --git a/v1-0-0/docs/plugins/kotest-plugin/property-based-testing/index.html b/v1-0-0/docs/plugins/kotest-plugin/property-based-testing/index.html index faa7c299d..a10ef694a 100644 --- a/v1-0-0/docs/plugins/kotest-plugin/property-based-testing/index.html +++ b/v1-0-0/docs/plugins/kotest-plugin/property-based-testing/index.html @@ -113,4 +113,4 @@ }) { data class StringObject(val value: String) } -
    ← Fixture Monkey Helper
    FAQ →
    \ No newline at end of file +
    ← Fixture Monkey Helper
    FAQ →
    \ No newline at end of file diff --git a/v1-0-0/docs/plugins/kotlin-plugin/features/index.html b/v1-0-0/docs/plugins/kotlin-plugin/features/index.html index 75e0e24ea..1a7e44c4f 100644 --- a/v1-0-0/docs/plugins/kotlin-plugin/features/index.html +++ b/v1-0-0/docs/plugins/kotlin-plugin/features/index.html @@ -1,6 +1,6 @@ Features Fixture Monkey \ No newline at end of file +

    Page not found :(

    The page you are looking for doesn't exist or has been moved.

    \ No newline at end of file diff --git a/v1-1-0-kor/categories/index.html b/v1-1-0-kor/categories/index.html index f812bdb22..4f6e6cf32 100644 --- a/v1-1-0-kor/categories/index.html +++ b/v1-1-0-kor/categories/index.html @@ -6,4 +6,4 @@ v1.1.x

    Categories

    \ No newline at end of file +

    Categories

    \ No newline at end of file diff --git a/v1-1-0-kor/contributors/index.html b/v1-1-0-kor/contributors/index.html index da1563870..45f28f1ae 100644 --- a/v1-1-0-kor/contributors/index.html +++ b/v1-1-0-kor/contributors/index.html @@ -6,4 +6,4 @@ v1.1.x

    Contributors

    \ No newline at end of file +

    Contributors

    \ No newline at end of file diff --git a/v1-1-0-kor/docs/cheat-sheet/faq/index.html b/v1-1-0-kor/docs/cheat-sheet/faq/index.html index 2e371be39..49a6c2ce1 100644 --- a/v1-1-0-kor/docs/cheat-sheet/faq/index.html +++ b/v1-1-0-kor/docs/cheat-sheet/faq/index.html @@ -77,4 +77,4 @@ .sample()

    setPostCondition()을 사용하면 Product 인스턴스가 생성된 후 필터링되므로 제한적인 조건에서 더 높은 비용이 발생할 수 있습니다. 이러한 경우 set()을 대신 사용하는 것이 권장됩니다.

    필드 중 하나가 다른 필드의 값에 의존하고 있습니다. 이러한 픽스처를 커스터마이징 하려면 어떻게 해야 하나요?

    thenApply() 메서드는 다른 필드에 의존하는 필드를 커스터마이징 할 때 유용합니다. 자세한 내용은 thenApply()을 확인해주세요.

    특정 타입을 생성할 때 예외가 발생해요

    먼저 PriorityConstructorArbitraryIntrospector를 사용해보세요. 다음과 같이 사용할 수 있습니다.

    FixtureMonkey.builder()
         .pushExactTypeArbitraryIntrospector(ProblematicType.class, PriorityConstructorArbitraryIntrospector.INSTANCE)
         .build();
    -

    위 옵션을 추가했는데도 동작하지 않는다면, ArbitraryIntrospector을 직접 만들거나 깃허브에 이슈를 만들어주시면 도움을 드리겠습니다.

    ← Kotest 프로퍼티 기반 테스트
    \ No newline at end of file +

    위 옵션을 추가했는데도 동작하지 않는다면, ArbitraryIntrospector을 직접 만들거나 깃허브에 이슈를 만들어주시면 도움을 드리겠습니다.

    ← Kotest 프로퍼티 기반 테스트
    \ No newline at end of file diff --git a/v1-1-0-kor/docs/cheat-sheet/index.html b/v1-1-0-kor/docs/cheat-sheet/index.html index fd9a3d5bd..89ddbd868 100644 --- a/v1-1-0-kor/docs/cheat-sheet/index.html +++ b/v1-1-0-kor/docs/cheat-sheet/index.html @@ -34,4 +34,4 @@ Kotest 플러그인
  • \ No newline at end of file +마이그레이션 가이드
    \ No newline at end of file diff --git a/v1-1-0-kor/docs/customizing-objects/apis/index.html b/v1-1-0-kor/docs/customizing-objects/apis/index.html index 50c2eb74b..e19296c08 100644 --- a/v1-1-0-kor/docs/customizing-objects/apis/index.html +++ b/v1-1-0-kor/docs/customizing-objects/apis/index.html @@ -207,4 +207,4 @@ .zipWith(stringBuilder, (integer, string) -> integer + "" + string);
    val stringBuilder = fixtureMonkey.giveMeBuilder<String>()
     
     val zipped = fixtureMonkey.giveMeBuilder<Int>()
    -    .zipWith(stringBuilder) { int, string -> int.toString() + "" + string }
    ← 인터페이스 생성하기
    표현식 →
    \ No newline at end of file + .zipWith(stringBuilder) { int, string -> int.toString() + "" + string }
    ← 인터페이스 생성하기
    표현식 →
    \ No newline at end of file diff --git a/v1-1-0-kor/docs/customizing-objects/arbitrary/index.html b/v1-1-0-kor/docs/customizing-objects/arbitrary/index.html index fb32d56ec..082699399 100644 --- a/v1-1-0-kor/docs/customizing-objects/arbitrary/index.html +++ b/v1-1-0-kor/docs/customizing-objects/arbitrary/index.html @@ -79,4 +79,4 @@ then(actual.id).isGreaterThanOrEqualTo(1000) then(actual.productName).matches("^[a-z]+$") then(actual.productName.length).isLessThanOrEqualTo(10) -then(actual.productType).matches { it -> it === ProductType.CLOTHING || it === ProductType.ELECTRONICS }

    Jqwik 사용자 가이드에서 Arbitrary에 대한 자세한 내용을 확인하세요.

    ← 표현식
    InnerSpec →
    \ No newline at end of file +then(actual.productType).matches { it -> it === ProductType.CLOTHING || it === ProductType.ELECTRONICS }

    Jqwik 사용자 가이드에서 Arbitrary에 대한 자세한 내용을 확인하세요.

    ← 표현식
    InnerSpec →
    \ No newline at end of file diff --git a/v1-1-0-kor/docs/customizing-objects/expressions/index.html b/v1-1-0-kor/docs/customizing-objects/expressions/index.html index 14442a66f..f2bc08399 100644 --- a/v1-1-0-kor/docs/customizing-objects/expressions/index.html +++ b/v1-1-0-kor/docs/customizing-objects/expressions/index.html @@ -137,4 +137,4 @@
    표현식을 결합하여 nested 필드 선택:
    javaGetter(JavaClass::getObjectList)
         .index(Nested.class, 0)
         .into(Nested::getNestedField)
    -

    컬렉션 선택하기

    컬렉션의 경우 프로퍼티는 컬렉션 크기 내에 존재하는 경우에만 선택됩니다. 예를 들어, 리스트의 크기가 2이지만 표현식이 목록의 범위를 벗어난 "list[3]"을 참조하는 경우 선택되지 않습니다.

    Fixture Monkey 표현식은 리스트와 세트에서 요소를 선택하는 기능을 지원하지만, 맵의 요소를 직접 선택할 수는 없습니다. 대신, 맵을 커스터마이징해야 하는 경우에는 InnerSpec을 사용할 수 있습니다.

    Expression Strict Mode

    옵션을 켜면 적용된 표현식이 구조와 정확하게 일치하는지 확인할 수 있습니다. 표현식의 일부가 범위를 벗어나거나 유효하지 않은 경우 Fixture Monkey는 예외를 발생시킵니다.

    Kotlin EXP

    Kotlin 플러그인을 추가하면 Kotlin의 프로퍼티 참조 구문을 사용하여 프로퍼티를 선택할 수 있습니다. Fixture Monkey에서는 이 기능을 Kotlin EXP 또는 Fixture Monkey Kotlin DSL이라고 합니다. 사용법에 대한 자세한 내용은 Kotlin DSL Exp를 참조하세요.

    ← 커스터마이징 API
    Arbitrary를 활용한 커스터마이징 →
    \ No newline at end of file +

    컬렉션 선택하기

    컬렉션의 경우 프로퍼티는 컬렉션 크기 내에 존재하는 경우에만 선택됩니다. 예를 들어, 리스트의 크기가 2이지만 표현식이 목록의 범위를 벗어난 "list[3]"을 참조하는 경우 선택되지 않습니다.

    Fixture Monkey 표현식은 리스트와 세트에서 요소를 선택하는 기능을 지원하지만, 맵의 요소를 직접 선택할 수는 없습니다. 대신, 맵을 커스터마이징해야 하는 경우에는 InnerSpec을 사용할 수 있습니다.

    Expression Strict Mode

    옵션을 켜면 적용된 표현식이 구조와 정확하게 일치하는지 확인할 수 있습니다. 표현식의 일부가 범위를 벗어나거나 유효하지 않은 경우 Fixture Monkey는 예외를 발생시킵니다.

    Kotlin EXP

    Kotlin 플러그인을 추가하면 Kotlin의 프로퍼티 참조 구문을 사용하여 프로퍼티를 선택할 수 있습니다. Fixture Monkey에서는 이 기능을 Kotlin EXP 또는 Fixture Monkey Kotlin DSL이라고 합니다. 사용법에 대한 자세한 내용은 Kotlin DSL Exp를 참조하세요.

    ← 커스터마이징 API
    Arbitrary를 활용한 커스터마이징 →
    \ No newline at end of file diff --git a/v1-1-0-kor/docs/customizing-objects/index.html b/v1-1-0-kor/docs/customizing-objects/index.html index d0316ca16..7a9a9fc26 100644 --- a/v1-1-0-kor/docs/customizing-objects/index.html +++ b/v1-1-0-kor/docs/customizing-objects/index.html @@ -34,4 +34,4 @@ Kotest 플러그인
  • \ No newline at end of file +마이그레이션 가이드
    \ No newline at end of file diff --git a/v1-1-0-kor/docs/customizing-objects/innerspec/index.html b/v1-1-0-kor/docs/customizing-objects/innerspec/index.html index ba5d87db4..4c2d931a9 100644 --- a/v1-1-0-kor/docs/customizing-objects/innerspec/index.html +++ b/v1-1-0-kor/docs/customizing-objects/innerspec/index.html @@ -233,4 +233,4 @@ general expression
    InnerSpec().property("stringByMap", m -> m.value(v -> v.entry("key", "value")))
    InnerSpec().property("stringByMap") { m -> m.value { v -> v.entry("key", "value") } }

    만약 엔트리 자체를 설정해야 하는 경우, entry()로 엔트리에 접근하고 InnerSpec을 사용하여 키를 추가로 커스터마이징한 다음, 특정 값을 설정합니다.

    InnerSpec().property("stringByMap", m -> m.entry("key", v -> v.entry("innerKey", "innerValue")))
    InnerSpec().property("stringByMap") { m -> m.entry("key") {v -> v.entry("innerKey", "innerValue")} }
    ← Arbitrary를 활용한 커스터마이징
    인터페이스 커스터마이징 →
    \ No newline at end of file +Kotlin Exp
    InnerSpec().property("stringByMap", m -> m.entry("key", v -> v.entry("innerKey", "innerValue")))
    InnerSpec().property("stringByMap") { m -> m.entry("key") {v -> v.entry("innerKey", "innerValue")} }
    ← Arbitrary를 활용한 커스터마이징
    인터페이스 커스터마이징 →
    \ No newline at end of file diff --git a/v1-1-0-kor/docs/customizing-objects/interface/index.html b/v1-1-0-kor/docs/customizing-objects/interface/index.html index caab4698b..9b16abc32 100644 --- a/v1-1-0-kor/docs/customizing-objects/interface/index.html +++ b/v1-1-0-kor/docs/customizing-objects/interface/index.html @@ -187,4 +187,4 @@ .set("$", Values.just(new IntegerValueSupplier(-1203))) .set("value", 1) // not works .sample(); -
    ← InnerSpec
    기능 →
    \ No newline at end of file +
    ← InnerSpec
    기능 →
    \ No newline at end of file diff --git a/v1-1-0-kor/docs/fixture-monkey-options/concepts/index.html b/v1-1-0-kor/docs/fixture-monkey-options/concepts/index.html index 0f303fc57..a81ccb762 100644 --- a/v1-1-0-kor/docs/fixture-monkey-options/concepts/index.html +++ b/v1-1-0-kor/docs/fixture-monkey-options/concepts/index.html @@ -84,4 +84,4 @@ 이러한 push 옵션에는 세 가지 바리에이션이 있습니다.

    push 바리에이션을 사용하여 설정한 옵션이 기본 옵션보다 우선한다는 점에 유의해야합니다. -이는 특정 타입에 대해 push 옵션이 정의되면 해당 타입에 해당하는 모든 기본 옵션이 재정의된다는 것을 의미합니다.

    ← 기능
    생성 옵션 →
    \ No newline at end of file +이는 특정 타입에 대해 push 옵션이 정의되면 해당 타입에 해당하는 모든 기본 옵션이 재정의된다는 것을 의미합니다.

    ← 기능
    생성 옵션 →
    \ No newline at end of file diff --git a/v1-1-0-kor/docs/fixture-monkey-options/customization-options/index.html b/v1-1-0-kor/docs/fixture-monkey-options/customization-options/index.html index cd399a3c8..851d80807 100644 --- a/v1-1-0-kor/docs/fixture-monkey-options/customization-options/index.html +++ b/v1-1-0-kor/docs/fixture-monkey-options/customization-options/index.html @@ -301,4 +301,4 @@ NullInjectGenerator { context -> NOT_NULL_INJECT } ) ) - .build()

    특정 클래스의 ArbitraryBuilderregister 로 등록하면 .setNotNull("*") 설정과 동일한 결과를 얻을 수 있습니다.

    ← 기타 옵션
    기능 →
    \ No newline at end of file + .build()

    특정 클래스의 ArbitraryBuilderregister 로 등록하면 .setNotNull("*") 설정과 동일한 결과를 얻을 수 있습니다.

    ← 기타 옵션
    기능 →
    \ No newline at end of file diff --git a/v1-1-0-kor/docs/fixture-monkey-options/generation-options/index.html b/v1-1-0-kor/docs/fixture-monkey-options/generation-options/index.html index 8038ed12a..9032ba4fc 100644 --- a/v1-1-0-kor/docs/fixture-monkey-options/generation-options/index.html +++ b/v1-1-0-kor/docs/fixture-monkey-options/generation-options/index.html @@ -397,4 +397,4 @@ // then then(actual).isIn(1, "fixed") -}
    ← 컨셉
    기타 옵션 →
    \ No newline at end of file +}
    ← 컨셉
    기타 옵션 →
    \ No newline at end of file diff --git a/v1-1-0-kor/docs/fixture-monkey-options/index.html b/v1-1-0-kor/docs/fixture-monkey-options/index.html index 721b0af59..2a3736060 100644 --- a/v1-1-0-kor/docs/fixture-monkey-options/index.html +++ b/v1-1-0-kor/docs/fixture-monkey-options/index.html @@ -34,4 +34,4 @@ Kotest 플러그인
  • \ No newline at end of file +마이그레이션 가이드
    \ No newline at end of file diff --git a/v1-1-0-kor/docs/fixture-monkey-options/other-options/index.html b/v1-1-0-kor/docs/fixture-monkey-options/other-options/index.html index 7c543bb17..68e193840 100644 --- a/v1-1-0-kor/docs/fixture-monkey-options/other-options/index.html +++ b/v1-1-0-kor/docs/fixture-monkey-options/other-options/index.html @@ -95,4 +95,4 @@ .plugin(new JacksonPlugin()) .build();
    val fixtureMonkey = FixtureMonkey.builder()
         .plugin(JacksonPlugin())
    -    .build()
    ← 생성 옵션
    커스터마이징 옵션 →
    \ No newline at end of file + .build()
    ← 생성 옵션
    커스터마이징 옵션 →
    \ No newline at end of file diff --git a/v1-1-0-kor/docs/generating-objects/fixture-monkey/index.html b/v1-1-0-kor/docs/generating-objects/fixture-monkey/index.html index c5af54ca0..b105fed4d 100644 --- a/v1-1-0-kor/docs/generating-objects/fixture-monkey/index.html +++ b/v1-1-0-kor/docs/generating-objects/fixture-monkey/index.html @@ -178,4 +178,4 @@ Arbitrary<List<String>> strListArbitrary = fixtureMonkey.giveMeArbitrary(new TypeReference<List<String>>() {});
    val productArbitrary: Arbitrary<Product> = fixtureMonkey.giveMeArbitrary()
     
    -val strListArbitrary: Arbitrary<List<String>> = fixtureMonkey.giveMeArbitrary()
    ← Kotlin 환경에서 테스트 객체 생성하기
    객체 생성 방법 지정하기 →
    \ No newline at end of file +val strListArbitrary: Arbitrary<List<String>> = fixtureMonkey.giveMeArbitrary()
    ← Kotlin 환경에서 테스트 객체 생성하기
    객체 생성 방법 지정하기 →
    \ No newline at end of file diff --git a/v1-1-0-kor/docs/generating-objects/generating-complex-types/index.html b/v1-1-0-kor/docs/generating-objects/generating-complex-types/index.html index e6f6b6a96..73c6a63a8 100644 --- a/v1-1-0-kor/docs/generating-objects/generating-complex-types/index.html +++ b/v1-1-0-kor/docs/generating-objects/generating-complex-types/index.html @@ -239,4 +239,4 @@ @JvmInline value class ValueClass(val foo: String) -
    ← 객체 생성 방법 지정하기
    Introspector →
    \ No newline at end of file +
    ← 객체 생성 방법 지정하기
    Introspector →
    \ No newline at end of file diff --git a/v1-1-0-kor/docs/generating-objects/generating-interface/index.html b/v1-1-0-kor/docs/generating-objects/generating-interface/index.html index e6967b55d..bbffc880d 100644 --- a/v1-1-0-kor/docs/generating-objects/generating-interface/index.html +++ b/v1-1-0-kor/docs/generating-objects/generating-interface/index.html @@ -243,4 +243,4 @@ SealedDefaultStringSupplier stringSupplier = (SealedDefaultStringSupplier)fixture.giveMeOne(SealedStringSupplier.class);

    이번 장에서는 인터페이스 타입을 생성하는 방법을 간단한 예제를 보며 배웠습니다. 인터페이스를 생성하는 데 문제가 있다면 InterfacePlugin 옵션들을 살펴보세요. -그래도 문제가 해결되지 않는다면 GitHub에 재현 가능한 예제를 포함한 이슈를 올려주세요.

    ← Introspector
    커스터마이징 API →
    \ No newline at end of file +그래도 문제가 해결되지 않는다면 GitHub에 재현 가능한 예제를 포함한 이슈를 올려주세요.

    ← Introspector
    커스터마이징 API →
    \ No newline at end of file diff --git a/v1-1-0-kor/docs/generating-objects/index.html b/v1-1-0-kor/docs/generating-objects/index.html index da14f4bb8..b677a4cb6 100644 --- a/v1-1-0-kor/docs/generating-objects/index.html +++ b/v1-1-0-kor/docs/generating-objects/index.html @@ -34,4 +34,4 @@ Kotest 플러그인
  • \ No newline at end of file +마이그레이션 가이드
    \ No newline at end of file diff --git a/v1-1-0-kor/docs/generating-objects/instantiate-methods/index.html b/v1-1-0-kor/docs/generating-objects/instantiate-methods/index.html index dac042dcd..3f09cd1f2 100644 --- a/v1-1-0-kor/docs/generating-objects/instantiate-methods/index.html +++ b/v1-1-0-kor/docs/generating-objects/instantiate-methods/index.html @@ -479,4 +479,4 @@ filter { "string" != it.name } } } -}

    예를 들어 첫 번째 예시와 같이 private 필드가 생성되지 않도록 제외하거나 두 번째 예시와 같이 특정 속성을 이름별로 필터링할 수 있습니다.

    ← FixtureMonkey
    복잡한 객체 생성하기 →
    \ No newline at end of file +}

    예를 들어 첫 번째 예시와 같이 private 필드가 생성되지 않도록 제외하거나 두 번째 예시와 같이 특정 속성을 이름별로 필터링할 수 있습니다.

    ← FixtureMonkey
    복잡한 객체 생성하기 →
    \ No newline at end of file diff --git a/v1-1-0-kor/docs/generating-objects/introspector/index.html b/v1-1-0-kor/docs/generating-objects/introspector/index.html index 67d0710d8..b385555c1 100644 --- a/v1-1-0-kor/docs/generating-objects/introspector/index.html +++ b/v1-1-0-kor/docs/generating-objects/introspector/index.html @@ -103,4 +103,4 @@ 기본 조건은 constructor -> !Modifier.isPrivate(constructor.getModifiers())입니다.

    sortingCriteria

    constructorFilter 조건을 만족하는 생성자가 여러 개 일경우 추가적으로 sortingCriteria 조건을 사용해서 생성자를 결정합니다.
    Comparator<Constructor<?>>로 정렬했을 때 첫 번째 생성자를 사용합니다.

    sortingCriteriawithSortingCriteria를 사용해서 변경할 수 있습니다. 기본 설정은 생성자 수가 가장 적은 생성자입니다. `Comparator.comparing(Constructor::getParameterCount)

    parameterNamesResolver

    다음 세 가지 조건 중 하나도 만족하지 않으면 픽스쳐 몽키에서 생성자 파라미터 이름을 인식할 수 없습니다.

    생성자 파라미터 이름을 인식하지 못하면 ArbitraryBuilder API를 사용해 생성자 파라미터를 제어할 수 없습니다.

    PriorityConstructorArbitraryIntrospector에서 parameterNamesResolver를 사용해 파라미터 이름을 인식합니다. parameterNamesResolverwithParameterNamesResolver를 사용해서 변경할 수 있습니다. -입력한 파라미터 이름은 항상 파라미터 순서와 동일해야 합니다.


    플러그인 별로 관련된 introspector도 존재합니다. 예를들어 JacksonObjectArbitraryIntrospectorPrimaryConstructorArbitraryIntrospector가 존재합니다.

    ← 복잡한 객체 생성하기
    인터페이스 생성하기 →
    \ No newline at end of file +입력한 파라미터 이름은 항상 파라미터 순서와 동일해야 합니다.


    플러그인 별로 관련된 introspector도 존재합니다. 예를들어 JacksonObjectArbitraryIntrospectorPrimaryConstructorArbitraryIntrospector가 존재합니다.

    ← 복잡한 객체 생성하기
    인터페이스 생성하기 →
    \ No newline at end of file diff --git a/v1-1-0-kor/docs/get-started/adding-bean-validation/index.html b/v1-1-0-kor/docs/get-started/adding-bean-validation/index.html index b5b1fb9bf..16d63a4f9 100644 --- a/v1-1-0-kor/docs/get-started/adding-bean-validation/index.html +++ b/v1-1-0-kor/docs/get-started/adding-bean-validation/index.html @@ -2,19 +2,19 @@ com.navercorp.fixturemonkey fixture-monkey-jackson 1.1.0 test 플러그인 # Java Kotlin FixtureMonkey fixtureMonkey = FixtureMonkey.builder() .plugin(new JacksonPlugin()) .build(); val fixtureMonkey = FixtureMonkey.builder() .plugin(JacksonPlugin()) .build() JacksonPlugin을 사용할 때 사용자 정의 객체 매퍼를 사용하고싶다면 JacksonPlugin 생성자에 objectMapper를 전달해줄 수 있습니다. +JacksonObjectArbitraryIntrospector를 기본 introspector로 사용하여 Jackson 객체 매퍼를 통해 객체를 생성하는 기능을 지원합니다. @JsonIgnore, @JsonProperty와 같은 Jackson 어노테이션을 지원합니다. 의존성 # Gradle # testImplementation("com.navercorp.fixturemonkey:fixture-monkey-jackson:1.1.1") Maven # com.navercorp.fixturemonkey fixture-monkey-jackson 1.1.1 test 플러그인 # Java Kotlin FixtureMonkey fixtureMonkey = FixtureMonkey.builder() .plugin(new JacksonPlugin()) .build(); val fixtureMonkey = FixtureMonkey.builder() .plugin(JacksonPlugin()) .build() JacksonPlugin을 사용할 때 사용자 정의 객체 매퍼를 사용하고싶다면 JacksonPlugin 생성자에 objectMapper를 전달해줄 수 있습니다. '> options; Instant createdAt; } JacksonObjectArbitraryIntrospector 사용 : Java Kotlin @Test void test() { FixtureMonkey fixtureMonkey = FixtureMonkey.builder() .plugin(new JacksonPlugin()) .build(); Product product = fixtureMonkey.giveMeOne(Product.class); } testImplementation("com.navercorp.fixturemonkey:fixture-monkey-starter-kotlin:1.1.0") testImplementation("com.fasterxml.jackson.module:jackson-module-kotlin") @Test fun test() { FixtureMonkey fixtureMonkey = FixtureMonkey.builder() .plugin(KotlinPlugin()) .plugin(JacksonPlugin()) .build(); val product: Product = fixtureMonkey.giveMeOne() } '> com.navercorp.fixturemonkey fixture-monkey-kotest 1.1.0 test 플러그인 # val fixtureMonkey = FixtureMonkey.builder() .plugin(KotestPlugin()) .plugin(KotlinPlugin()) .build() '> com.navercorp.fixturemonkey fixture-monkey-kotlin 1.1.0 test fixture-monkey-starter-kotlin # Kotlin 환경에서 Fixture Monkey 를 사용하는 것을 돕기 위해 fixture-monkey-starter 나 fixture-monkey-jakarta-validation 와 같은 사전 구성된 종속성들로 구성되어 있는 스타터 패키지 fixture-monkey-kotlin-starter 를 제공합니다. +PrimaryConstructorArbitraryIntrospector 를 기본 Introspector 로 적용하여 Kotlin 클래스를 주 생성자로 생성 Fixture Monkey 의 Kotlin 확장 함수 제공 Kotlin DSL 표현식 및 instantiateBy DSL 제공 종속성 # fixture-monkey-kotlin # Gradle # testImplementation("com.navercorp.fixturemonkey:fixture-monkey-kotlin:1.1.1") Maven # com.navercorp.fixturemonkey fixture-monkey-kotlin 1.1.1 test fixture-monkey-starter-kotlin # Kotlin 환경에서 Fixture Monkey 를 사용하는 것을 돕기 위해 fixture-monkey-starter 나 fixture-monkey-jakarta-validation 와 같은 사전 구성된 종속성들로 구성되어 있는 스타터 패키지 fixture-monkey-kotlin-starter 를 제공합니다. '> \ No newline at end of file +

    Page not found :(

    The page you are looking for doesn't exist or has been moved.

    \ No newline at end of file diff --git a/v1-1-0/categories/index.html b/v1-1-0/categories/index.html index 153e3259d..76a852c1f 100644 --- a/v1-1-0/categories/index.html +++ b/v1-1-0/categories/index.html @@ -6,4 +6,4 @@ v1.1.x

    Categories

    \ No newline at end of file +

    Categories

    \ No newline at end of file diff --git a/v1-1-0/contributors/index.html b/v1-1-0/contributors/index.html index 00189b5f3..ad11f7854 100644 --- a/v1-1-0/contributors/index.html +++ b/v1-1-0/contributors/index.html @@ -6,4 +6,4 @@ v1.1.x

    Contributors

    \ No newline at end of file +

    Contributors

    \ No newline at end of file diff --git a/v1-1-0/docs/cheat-sheet/faq/index.html b/v1-1-0/docs/cheat-sheet/faq/index.html index 892aef99d..132fc648e 100644 --- a/v1-1-0/docs/cheat-sheet/faq/index.html +++ b/v1-1-0/docs/cheat-sheet/faq/index.html @@ -80,4 +80,4 @@ For more information, check the thenApply() section

    Throws an exception when generating a certain type

    Use PriorityConstructorArbitraryIntrospector first. Apply as shown below.

    FixtureMonkey.builder()
         .pushExactTypeArbitraryIntrospector(ProblematicType.class, PriorityConstructorArbitraryIntrospector.INSTANCE)
         .build();
    -

    If it does not work, please try to make your own ArbitraryIntrospector or create an issue on github and ask for help.

    ← Kotest Property Based Testing
    \ No newline at end of file +

    If it does not work, please try to make your own ArbitraryIntrospector or create an issue on github and ask for help.

    ← Kotest Property Based Testing
    \ No newline at end of file diff --git a/v1-1-0/docs/cheat-sheet/index.html b/v1-1-0/docs/cheat-sheet/index.html index b5a0f3cac..4dfb945f0 100644 --- a/v1-1-0/docs/cheat-sheet/index.html +++ b/v1-1-0/docs/cheat-sheet/index.html @@ -34,4 +34,4 @@ Kotest Plugin
  • \ No newline at end of file +Migration guide
    \ No newline at end of file diff --git a/v1-1-0/docs/customizing-objects/apis/index.html b/v1-1-0/docs/customizing-objects/apis/index.html index 34f5fb0e2..f782f9e3a 100644 --- a/v1-1-0/docs/customizing-objects/apis/index.html +++ b/v1-1-0/docs/customizing-objects/apis/index.html @@ -209,4 +209,4 @@ .zipWith(stringBuilder, (integer, string) -> integer + "" + string);
    val stringBuilder = fixtureMonkey.giveMeBuilder<String>()
     
     val zipped = fixtureMonkey.giveMeBuilder<Int>()
    -    .zipWith(stringBuilder) { int, string -> int.toString() + "" + string }
    ← Generating Interface Type
    Expressions →
    \ No newline at end of file + .zipWith(stringBuilder) { int, string -> int.toString() + "" + string }
    ← Generating Interface Type
    Expressions →
    \ No newline at end of file diff --git a/v1-1-0/docs/customizing-objects/arbitrary/index.html b/v1-1-0/docs/customizing-objects/arbitrary/index.html index 3aa52a6e7..ec9cef330 100644 --- a/v1-1-0/docs/customizing-objects/arbitrary/index.html +++ b/v1-1-0/docs/customizing-objects/arbitrary/index.html @@ -79,4 +79,4 @@ then(actual.id).isGreaterThanOrEqualTo(1000) then(actual.productName).matches("^[a-z]+$") then(actual.productName.length).isLessThanOrEqualTo(10) -then(actual.productType).matches { it -> it === ProductType.CLOTHING || it === ProductType.ELECTRONICS }

    For further details about Jqwik and Arbitrary, check out Jqwik User Guide

    ← Expressions
    InnerSpec →
    \ No newline at end of file +then(actual.productType).matches { it -> it === ProductType.CLOTHING || it === ProductType.ELECTRONICS }

    For further details about Jqwik and Arbitrary, check out Jqwik User Guide

    ← Expressions
    InnerSpec →
    \ No newline at end of file diff --git a/v1-1-0/docs/customizing-objects/expressions/index.html b/v1-1-0/docs/customizing-objects/expressions/index.html index f3e8b0301..1046d9591 100644 --- a/v1-1-0/docs/customizing-objects/expressions/index.html +++ b/v1-1-0/docs/customizing-objects/expressions/index.html @@ -142,4 +142,4 @@ However, if you need to customize a map, consider using the InnerSpec method.

    Expression Strict Mode

    This option can be turned on to ensure applied expressions strictly match the structure. If any part of an expression is out of bounds or invalid, Fixture Monkey will raise an exception.

    Kotlin EXP

    By adding the Kotlin plugin, you can select properties using Kotlin’s property reference syntax. In Fixture Monkey, this feature is referred to as Kotlin EXP or the Fixture Monkey Kotlin DSL. -For further details on its usage, refer to the Kotlin DSL Exp page.

    ← Fixture Customization APIs
    Customizing random values with Arbitrary →
    \ No newline at end of file +For further details on its usage, refer to the Kotlin DSL Exp page.

    ← Fixture Customization APIs
    Customizing random values with Arbitrary →
    \ No newline at end of file diff --git a/v1-1-0/docs/customizing-objects/index.html b/v1-1-0/docs/customizing-objects/index.html index 48f509bf6..cdccc6a9b 100644 --- a/v1-1-0/docs/customizing-objects/index.html +++ b/v1-1-0/docs/customizing-objects/index.html @@ -34,4 +34,4 @@ Kotest Plugin
  • \ No newline at end of file +Migration guide
    \ No newline at end of file diff --git a/v1-1-0/docs/customizing-objects/innerspec/index.html b/v1-1-0/docs/customizing-objects/innerspec/index.html index 044409a31..dedb4d4e1 100644 --- a/v1-1-0/docs/customizing-objects/innerspec/index.html +++ b/v1-1-0/docs/customizing-objects/innerspec/index.html @@ -223,4 +223,4 @@ general expression
    InnerSpec().property("stringByMap", m -> m.value(v -> v.entry("key", "value")))
    InnerSpec().property("stringByMap") { m -> m.value { v -> v.entry("key", "value") } }

    If you need to set the entry itself, access the entry with entry() and further customize the value using InnerSpec, then set the specific key.

    InnerSpec().property("stringByMap", m -> m.entry("key", v -> v.entry("innerKey", "innerValue")))
    InnerSpec().property("stringByMap") { m -> m.entry("key") {v -> v.entry("innerKey", "innerValue")} }
    ← Customizing random values with Arbitrary
    Customizing Interface →
    \ No newline at end of file +Kotlin Exp
    InnerSpec().property("stringByMap", m -> m.entry("key", v -> v.entry("innerKey", "innerValue")))
    InnerSpec().property("stringByMap") { m -> m.entry("key") {v -> v.entry("innerKey", "innerValue")} }
    ← Customizing random values with Arbitrary
    Customizing Interface →
    \ No newline at end of file diff --git a/v1-1-0/docs/customizing-objects/interface/index.html b/v1-1-0/docs/customizing-objects/interface/index.html index 2ab07b7e8..ff88d329b 100644 --- a/v1-1-0/docs/customizing-objects/interface/index.html +++ b/v1-1-0/docs/customizing-objects/interface/index.html @@ -185,4 +185,4 @@ .set("$", Values.just(new IntegerValueSupplier(-1203))) .set("value", 1) // not works .sample(); -
    ← InnerSpec
    Concepts →
    \ No newline at end of file +
    ← InnerSpec
    Concepts →
    \ No newline at end of file diff --git a/v1-1-0/docs/fixture-monkey-options/concepts/index.html b/v1-1-0/docs/fixture-monkey-options/concepts/index.html index 0a3f6a555..0e2caa47d 100644 --- a/v1-1-0/docs/fixture-monkey-options/concepts/index.html +++ b/v1-1-0/docs/fixture-monkey-options/concepts/index.html @@ -81,4 +81,4 @@

    Options

    In Fixture Monkey, several options share common characteristics. For example, let’s take a look at the options related to modifying the ObjectPropertyGenerator

    defaultObjectPropertyGenerator, pushObjectPropertyGenerator, pushAssignableTypeObjectPropertyGenerator, pushExactTypeObjectPropertyGenerator

    Options with the prefix default are applied as defaults to all properties generated by Fixture Monkey. These defaults set a basic behavior that affects all property types uniformly.

    However, if you need to apply specific options for a particular type, you can make use of the options that start with push. -There are three variations of these push options.

    It’s important to note that options set using the push variants take precedence over the default options. This means that when a push option is defined for a specific type, it will override any corresponding default option for that type.

    ← Customizing Interface
    Features →
    \ No newline at end of file +There are three variations of these push options.

    It’s important to note that options set using the push variants take precedence over the default options. This means that when a push option is defined for a specific type, it will override any corresponding default option for that type.

    ← Customizing Interface
    Features →
    \ No newline at end of file diff --git a/v1-1-0/docs/fixture-monkey-options/customization-options/index.html b/v1-1-0/docs/fixture-monkey-options/customization-options/index.html index 7becb28dd..3d29985eb 100644 --- a/v1-1-0/docs/fixture-monkey-options/customization-options/index.html +++ b/v1-1-0/docs/fixture-monkey-options/customization-options/index.html @@ -297,4 +297,4 @@ NullInjectGenerator { context -> NOT_NULL_INJECT } ) ) - .build()

    Registering an ArbitraryBuilder of a specific class with register that has the .setNotNull("*") setting will have the same effect.

    ← Generation Options
    Other Options →
    \ No newline at end of file + .build()

    Registering an ArbitraryBuilder of a specific class with register that has the .setNotNull("*") setting will have the same effect.

    ← Generation Options
    Other Options →
    \ No newline at end of file diff --git a/v1-1-0/docs/fixture-monkey-options/generation-options/index.html b/v1-1-0/docs/fixture-monkey-options/generation-options/index.html index 755a3e67c..c64d60f1a 100644 --- a/v1-1-0/docs/fixture-monkey-options/generation-options/index.html +++ b/v1-1-0/docs/fixture-monkey-options/generation-options/index.html @@ -385,4 +385,4 @@ // then then(actual).isIn(1, "fixed") -}
    ← Features
    Customization Options →
    \ No newline at end of file +}
    ← Features
    Customization Options →
    \ No newline at end of file diff --git a/v1-1-0/docs/fixture-monkey-options/index.html b/v1-1-0/docs/fixture-monkey-options/index.html index 96f78a789..b84553a02 100644 --- a/v1-1-0/docs/fixture-monkey-options/index.html +++ b/v1-1-0/docs/fixture-monkey-options/index.html @@ -34,4 +34,4 @@ Kotest Plugin
  • \ No newline at end of file +Migration guide
    \ No newline at end of file diff --git a/v1-1-0/docs/fixture-monkey-options/other-options/index.html b/v1-1-0/docs/fixture-monkey-options/other-options/index.html index 149c08893..2aed4bc75 100644 --- a/v1-1-0/docs/fixture-monkey-options/other-options/index.html +++ b/v1-1-0/docs/fixture-monkey-options/other-options/index.html @@ -95,4 +95,4 @@ .plugin(new JacksonPlugin()) .build();
    val fixtureMonkey = FixtureMonkey.builder()
         .plugin(JacksonPlugin())
    -    .build()
    ← Customization Options
    Features →
    \ No newline at end of file + .build()
    ← Customization Options
    Features →
    \ No newline at end of file diff --git a/v1-1-0/docs/generating-objects/fixture-monkey/index.html b/v1-1-0/docs/generating-objects/fixture-monkey/index.html index c869df57c..0c769f893 100644 --- a/v1-1-0/docs/generating-objects/fixture-monkey/index.html +++ b/v1-1-0/docs/generating-objects/fixture-monkey/index.html @@ -151,4 +151,4 @@ Arbitrary<List<String>> strListArbitrary = fixtureMonkey.giveMeArbitrary(new TypeReference<List<String>>() {});
    val productArbitrary: Arbitrary<Product> = fixtureMonkey.giveMeArbitrary()
     
    -val strListArbitrary: Arbitrary<List<String>> = fixtureMonkey.giveMeArbitrary()
    ← Creating objects in Kotlin
    Generating Complex Types →
    \ No newline at end of file +val strListArbitrary: Arbitrary<List<String>> = fixtureMonkey.giveMeArbitrary()
    ← Creating objects in Kotlin
    Generating Complex Types →
    \ No newline at end of file diff --git a/v1-1-0/docs/generating-objects/generating-complex-types/index.html b/v1-1-0/docs/generating-objects/generating-complex-types/index.html index 5e86e1612..5e113899c 100644 --- a/v1-1-0/docs/generating-objects/generating-complex-types/index.html +++ b/v1-1-0/docs/generating-objects/generating-complex-types/index.html @@ -239,4 +239,4 @@ @JvmInline value class ValueClass(val foo: String) -
    ← FixtureMonkey
    Instantiate Methods →
    \ No newline at end of file +
    ← FixtureMonkey
    Instantiate Methods →
    \ No newline at end of file diff --git a/v1-1-0/docs/generating-objects/generating-interface/index.html b/v1-1-0/docs/generating-objects/generating-interface/index.html index 089cdbc54..650a7b188 100644 --- a/v1-1-0/docs/generating-objects/generating-interface/index.html +++ b/v1-1-0/docs/generating-objects/generating-interface/index.html @@ -245,4 +245,4 @@ SealedDefaultStringSupplier stringSupplier = (SealedDefaultStringSupplier)fixture.giveMeOne(SealedStringSupplier.class);

    This chapter illustrates how to create an interface type. If you get stuck, all you need to remember is the `InterfacePlugin’ plugin. -If the plugin doesn’t solve your problem, please post a bug with a reproducible example.

    ← Introspector
    Fixture Customization APIs →
    \ No newline at end of file +If the plugin doesn’t solve your problem, please post a bug with a reproducible example.

    ← Introspector
    Fixture Customization APIs →
    \ No newline at end of file diff --git a/v1-1-0/docs/generating-objects/index.html b/v1-1-0/docs/generating-objects/index.html index 80490e3c4..ff9bc5399 100644 --- a/v1-1-0/docs/generating-objects/index.html +++ b/v1-1-0/docs/generating-objects/index.html @@ -34,4 +34,4 @@ Kotest Plugin
  • \ No newline at end of file +Migration guide
    \ No newline at end of file diff --git a/v1-1-0/docs/generating-objects/instantiate-methods/index.html b/v1-1-0/docs/generating-objects/instantiate-methods/index.html index d42149f2c..78cfa4c6f 100644 --- a/v1-1-0/docs/generating-objects/instantiate-methods/index.html +++ b/v1-1-0/docs/generating-objects/instantiate-methods/index.html @@ -474,4 +474,4 @@ filter { "string" != it.name } } } -}

    For example, you can exclude private fields from being generated as shown in the first example, or you can filter out certain properties by name, as demonstrated in the second example.

    ← Generating Complex Types
    Introspector →
    \ No newline at end of file +}

    For example, you can exclude private fields from being generated as shown in the first example, or you can filter out certain properties by name, as demonstrated in the second example.

    ← Generating Complex Types
    Introspector →
    \ No newline at end of file diff --git a/v1-1-0/docs/generating-objects/introspector/index.html b/v1-1-0/docs/generating-objects/introspector/index.html index 8f356e33d..f8dc837bb 100644 --- a/v1-1-0/docs/generating-objects/introspector/index.html +++ b/v1-1-0/docs/generating-objects/introspector/index.html @@ -100,4 +100,4 @@ Comparator.comparing(Constructor::getParameterCount)

    parameterNamesResolver

    Fixture Monkey cannot recognise constructor parameter names if any of the following three conditions are not met.

    If you do not recognise constructor parameter names, you cannot use the ArbitraryBuilder API to control constructor parameters.

    The PriorityConstructorArbitraryIntrospector uses the parameterNamesResolver to recognise parameter names. The parameterNamesResolver can be changed using withParameterNamesResolver. The entered parameter names must always be the same as the parameter order.


    Additional introspectors have been introduced inside plugins, such as JacksonObjectArbitraryIntrospector or -PrimaryConstructorArbitraryIntrospector

    ← Instantiate Methods
    Generating Interface Type →
    \ No newline at end of file +PrimaryConstructorArbitraryIntrospector

    ← Instantiate Methods
    Generating Interface Type →
    \ No newline at end of file diff --git a/v1-1-0/docs/get-started/adding-bean-validation/index.html b/v1-1-0/docs/get-started/adding-bean-validation/index.html index 56345ca4c..d340bc163 100644 --- a/v1-1-0/docs/get-started/adding-bean-validation/index.html +++ b/v1-1-0/docs/get-started/adding-bean-validation/index.html @@ -2,18 +2,18 @@ com.navercorp.fixturemonkey fixture-monkey-jackson 1.1.0 test Plugin # Java Kotlin FixtureMonkey fixtureMonkey = FixtureMonkey.builder() .plugin(new JacksonPlugin()) .build(); val fixtureMonkey = FixtureMonkey.builder() .plugin(JacksonPlugin()) .build() Pass the object mapper to the JacksonPlugin constructor if you are using Jackson with a custom object mapper. +Supports the use of JacksonObjectArbitraryIntrospector as the default introspector to create objects using the Jackson object mapper. Supports Jackson Annotations such as, @JsonIgnore, @JsonProperty Dependencies # Gradle # testImplementation("com.navercorp.fixturemonkey:fixture-monkey-jackson:1.1.1") Maven # com.navercorp.fixturemonkey fixture-monkey-jackson 1.1.1 test Plugin # Java Kotlin FixtureMonkey fixtureMonkey = FixtureMonkey.builder() .plugin(new JacksonPlugin()) .build(); val fixtureMonkey = FixtureMonkey.builder() .plugin(JacksonPlugin()) .build() Pass the object mapper to the JacksonPlugin constructor if you are using Jackson with a custom object mapper. '> options; Instant createdAt; } Using JacksonObjectArbitraryIntrospector : Java Kotlin @Test void test() { FixtureMonkey fixtureMonkey = FixtureMonkey.builder() .plugin(new JacksonPlugin()) .build(); Product product = fixtureMonkey.giveMeOne(Product.class); } testImplementation("com.navercorp.fixturemonkey:fixture-monkey-starter-kotlin:1.1.0") testImplementation("com.fasterxml.jackson.module:jackson-module-kotlin") @Test fun test() { FixtureMonkey fixtureMonkey = FixtureMonkey.builder() .plugin(KotlinPlugin()) .plugin(JacksonPlugin()) .build(); val product: Product = fixtureMonkey.giveMeOne() } '> com.navercorp.fixturemonkey fixture-monkey-jakarta-validation 1.1.0 test The jakarta validation API and the Hibernate validator are already provided as part of the dependency. +💡 Javax Bean Validation is also supported with the Fixture Monkey Javax Validation Plugin Dependencies # Gradle # testImplementation("com.navercorp.fixturemonkey:jakarta-validation:1.1.1") Maven # com.navercorp.fixturemonkey fixture-monkey-jakarta-validation 1.1.1 test The jakarta validation API and the Hibernate validator are already provided as part of the dependency. Plugin # Java Kotlin FixtureMonkey fixtureMonkey = FixtureMonkey.builder() .plugin(new JakartaValidationPlugin()) .build(); val fixtureMonkey = FixtureMonkey.builder() .plugin(JakartaValidationPlugin()) .build() '> com.navercorp.fixturemonkey fixture-monkey-kotest 1.1.0 test Plugin # val fixtureMonkey = FixtureMonkey.builder() .plugin(KotestPlugin()) .plugin(KotlinPlugin()) .build() '>

    Dependencies

    fixture-monkey-kotlin

    Gradle

    testImplementation("com.navercorp.fixturemonkey:fixture-monkey-kotest:1.1.0")
    +ExpandCollapse

    The Kotest plugin provided by Fixture Monkey allows you to enhance your testing experience within the Kotest framework.

    Dependencies

    fixture-monkey-kotlin

    Gradle

    testImplementation("com.navercorp.fixturemonkey:fixture-monkey-kotest:1.1.1")
     

    Maven

    <dependency>
       <groupId>com.navercorp.fixturemonkey</groupId>
       <artifactId>fixture-monkey-kotest</artifactId>
    -  <version>1.1.0</version>
    +  <version>1.1.1</version>
       <scope>test</scope>
     </dependency>
     

    Plugin

    val fixtureMonkey = FixtureMonkey.builder()
         .plugin(KotestPlugin())
         .plugin(KotlinPlugin())
         .build()
    -
    \ No newline at end of file +
    ← Bean Validation
    Fixture Monkey Helper →
    \ No newline at end of file diff --git a/v1-1-0/docs/plugins/kotest-plugin/index.html b/v1-1-0/docs/plugins/kotest-plugin/index.html index e7d1ae59d..ba94d5655 100644 --- a/v1-1-0/docs/plugins/kotest-plugin/index.html +++ b/v1-1-0/docs/plugins/kotest-plugin/index.html @@ -34,4 +34,4 @@ Kotest Plugin
  • \ No newline at end of file +Migration guide
    \ No newline at end of file diff --git a/v1-1-0/docs/plugins/kotest-plugin/index.xml b/v1-1-0/docs/plugins/kotest-plugin/index.xml index 122e50673..ccb7f239a 100644 --- a/v1-1-0/docs/plugins/kotest-plugin/index.xml +++ b/v1-1-0/docs/plugins/kotest-plugin/index.xml @@ -13,13 +13,13 @@ <h2 id="dependencies">Dependencies <a href="#dependencies" class="anchor" aria-hidden="true">#</a></h2> <h5 id="fixture-monkey-kotlin">fixture-monkey-kotlin <a href="#fixture-monkey-kotlin" class="anchor" aria-hidden="true">#</a></h5> <h4 id="gradle">Gradle <a href="#gradle" class="anchor" aria-hidden="true">#</a></h4> -<pre><code class="language-groovy">testImplementation(&quot;com.navercorp.fixturemonkey:fixture-monkey-kotest:1.1.0&quot;) +<pre><code class="language-groovy">testImplementation(&quot;com.navercorp.fixturemonkey:fixture-monkey-kotest:1.1.1&quot;) </code></pre> <h4 id="maven">Maven <a href="#maven" class="anchor" aria-hidden="true">#</a></h4> <pre><code class="language-xml">&lt;dependency&gt; &lt;groupId&gt;com.navercorp.fixturemonkey&lt;/groupId&gt; &lt;artifactId&gt;fixture-monkey-kotest&lt;/artifactId&gt; - &lt;version&gt;1.1.0&lt;/version&gt; + &lt;version&gt;1.1.1&lt;/version&gt; &lt;scope&gt;test&lt;/scope&gt; &lt;/dependency&gt; </code></pre> diff --git a/v1-1-0/docs/plugins/kotest-plugin/property-based-testing/index.html b/v1-1-0/docs/plugins/kotest-plugin/property-based-testing/index.html index 6f7a4207c..f65a1b029 100644 --- a/v1-1-0/docs/plugins/kotest-plugin/property-based-testing/index.html +++ b/v1-1-0/docs/plugins/kotest-plugin/property-based-testing/index.html @@ -116,4 +116,4 @@ }) { data class StringObject(val value: String) } -
    ← Fixture Monkey Helper
    FAQ →
    \ No newline at end of file +
    ← Fixture Monkey Helper
    FAQ →
    \ No newline at end of file diff --git a/v1-1-0/docs/plugins/kotlin-plugin/features/index.html b/v1-1-0/docs/plugins/kotlin-plugin/features/index.html index 148a35fcd..915266986 100644 --- a/v1-1-0/docs/plugins/kotlin-plugin/features/index.html +++ b/v1-1-0/docs/plugins/kotlin-plugin/features/index.html @@ -1,6 +1,6 @@ Features Fixture Monkey