diff --git a/.github/ISSUE_TEMPLATE/bug_report_issue_template.md b/.github/ISSUE_TEMPLATE/bug_report_issue_template.md index 1621119a8..f9a11a675 100644 --- a/.github/ISSUE_TEMPLATE/bug_report_issue_template.md +++ b/.github/ISSUE_TEMPLATE/bug_report_issue_template.md @@ -17,6 +17,7 @@ assignees: '' ## Steps to reproduce *Tell us how to reproduce this issue.* *Or provide us an example repository to check the bug* +*It would be very helpful if you could tell us the seed of the given test, which is provided in `fixture-monkey-junit-jupiter` module* ## Expected behaviour *Tell us what should happen* diff --git a/README.md b/README.md index baa365fa4..011bacb9b 100644 --- a/README.md +++ b/README.md @@ -32,13 +32,13 @@ Each primitive type property is generated by [Jqwik](https://github.com/jlink/jq #### Java ```groovy -testImplementation("com.navercorp.fixturemonkey:fixture-monkey-starter:1.0.23") +testImplementation("com.navercorp.fixturemonkey:fixture-monkey-starter:1.0.24") ``` #### Kotlin ```groovy -testImplementation("com.navercorp.fixturemonkey:fixture-monkey-starter-kotlin:1.0.23") +testImplementation("com.navercorp.fixturemonkey:fixture-monkey-starter-kotlin:1.0.24") ``` ### Maven @@ -49,7 +49,7 @@ testImplementation("com.navercorp.fixturemonkey:fixture-monkey-starter-kotlin:1. com.navercorp.fixturemonkey fixture-monkey-starter - 1.0.23 + 1.0.24 test ``` @@ -60,7 +60,7 @@ testImplementation("com.navercorp.fixturemonkey:fixture-monkey-starter-kotlin:1. com.navercorp.fixturemonkey fixture-monkey-starter-kotlin - 1.0.23 + 1.0.24 test ``` @@ -185,6 +185,7 @@ Thanks to all [contributors](https://github.com/naver/fixture-monkey/graphs/cont * [Getting Started Easy Test Fixture Customization with Fixture Monkey](https://medium.com/naver-platform-labs/easy-test-fixture-customization-with-fixture-monkey-4114c6b4b1ef) * [[Fixture Monkey] 픽스쳐 몽키로 테스트 코드 작성하기 (Java Spring)](https://sunshower99.tistory.com/33) * [TestFixture를 쉽게 생성해 주는 라이브러리가 있다?](https://oliveyoung.tech/blog/2024-04-01/testcode-use-fixture-monkey/) +* [Fixture Monkey로 테스트 픽스처를 쉽게 생성하고 리팩토링 해보자](https://jxmen.github.io/wiki/project/cs-ai-interviewer/refactoring-with-fixture-monkey/) Welcome to write articles about Fixture Monkey! Please let us know if you'd like to share your post. diff --git a/build.gradle.kts b/build.gradle.kts index 8187aa4ea..c90537638 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -7,7 +7,7 @@ plugins { allprojects { group = "com.navercorp.fixturemonkey" - version = "1.0.24-SNAPSHOT" + version = "1.0.24" } subprojects { diff --git a/docs/content/v1.0.x-kor/release-notes/_index.md b/docs/content/v1.0.x-kor/release-notes/_index.md index 862da18a9..7e6e4b57d 100644 --- a/docs/content/v1.0.x-kor/release-notes/_index.md +++ b/docs/content/v1.0.x-kor/release-notes/_index.md @@ -6,6 +6,26 @@ docs: weight: 100 --- +sectionStart +### v.1.0.24 +Deprecate `ElementJsonSubTypesObjectPropertyGenerator`, `PropertyJsonSubTypesObjectPropertyGenerator` in `fixture-monkey-jackson` module. +Please use the `ElementJsonSubTypesConcreteTypeResolver`, `PropertyJsonSubTypesConcreteTypeResolver` instead. + +Add new APIs that generates the unique value by `Values.unique(Supplier)` or `CombinableArbitrary.unique()`. + +Check out the examples below. +```java +.set("$[*]", Values.unique(() -> Arbitraries.integers().between(0, 3).sample()))`, +``` + +```java +.>customizeProperty(typedRoot(), CombinableArbitrary::unique) +``` + +Add `@Seed` to reproduce the randomly populated object in `fixture-monkey-junit-jupiter` module. + +sectionEnd + sectionStart ### v.1.0.23 Add the flexible option for complex usage in InterfacePlugin. diff --git a/docs/content/v1.0.x/release-notes/_index.md b/docs/content/v1.0.x/release-notes/_index.md index a8d4fb212..86af5c436 100644 --- a/docs/content/v1.0.x/release-notes/_index.md +++ b/docs/content/v1.0.x/release-notes/_index.md @@ -5,6 +5,25 @@ menu: docs: weight: 100 --- +sectionStart +### v.1.0.24 +Deprecate `ElementJsonSubTypesObjectPropertyGenerator`, `PropertyJsonSubTypesObjectPropertyGenerator` in `fixture-monkey-jackson` module. +Please use the `ElementJsonSubTypesConcreteTypeResolver`, `PropertyJsonSubTypesConcreteTypeResolver` instead. + +Add new APIs that generates the unique value by `Values.unique(Supplier)` or `CombinableArbitrary.unique()`. + +Check out the examples below. +```java +.set("$[*]", Values.unique(() -> Arbitraries.integers().between(0, 3).sample()))`, +``` + +```java +.>customizeProperty(typedRoot(), CombinableArbitrary::unique) +``` + +Add `@Seed` to reproduce the randomly populated object in `fixture-monkey-junit-jupiter` module. + +sectionEnd sectionStart ### v.1.0.23