Skip to content

Commit b28ddd7

Browse files
committed
Update document
1 parent 357a080 commit b28ddd7

File tree

2 files changed

+15
-11
lines changed

2 files changed

+15
-11
lines changed

README.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,14 @@
1111

1212
### "Write once, Test anywhere"
1313

14-
Fixture Monkey is designed to easily generate controllable arbitrary instances. It allows you to reuse the same configurations of the instances in several tests.
14+
Fixture Monkey is designed to easily generate fully-customizable, randomly populated instance. It allows you to focus on the properties of the class that really matter in your test.
1515

16-
You can write countless tests including edge cases, using just only one instance of the FixtureMonkey type. You can automatically generate instances of complex types and set fields with values from builders of the ArbitraryBuilder<T> type. The well-defined builders can be reused in any test.
17-
16+
It can help you write deterministic tests by generating a random instance of a class with specific property values.
17+
Focus on what you really matters in your test, and let Fixture Monkey handle the rest.
18+
19+
It is a good choice to support both DRY (Don't Repeat Yourself) and DAMP (Descriptive And Meaningful Phrases) principles in your test code.
20+
21+
It is interoperable with almost all test frameworks and libraries, including JUnit, TestNG, Kotest. It also supports Java and Kotlin.
1822
Each primitive type property is generated by [Jqwik](https://github.com/jlink/jqwik) or [kotest-property](https://github.com/kotest/kotest).
1923

2024

docs/layouts/index.html

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -44,11 +44,11 @@
4444
<div class="custom-column custom-column-md custom-column-lg custom-column-xl custom-column-xxl">
4545
<div class="main-text-container p-5 text-left">
4646
<p class="p-2 text-dark fs-2 m-0">
47-
<b>The easiest way to generate controllable arbitrary test objects</b>
47+
<b>The easiest way to generate fully-customizable, randomly populated instance</b>
4848
</p>
4949
</div>
50-
<p class="text-secondary fs-5 fw-medium mt-3 sub-text">
51-
Java &amp; Kotlin library for automatically generating reusable and controllable, arbitrary test fixtures
50+
<p class="text-secondary fs-5 fw-medium mt-3 sub-text" align="center">
51+
Java &amp; Kotlin library to support both DRY(Don't Repeat Yourself) and DAMP(Descriptive And Meaningful Phrases) testing
5252
</p>
5353
</div>
5454
</section>
@@ -59,24 +59,24 @@
5959
<div class="p-3 mt-3 feature-text-container text-center">
6060
<i class="mt-5 fa-solid fa-wand-sparkles me-2 fa-2xl"></i>
6161
<h2 class="h3">Simplicity</h2>
62-
<p> Effortlessly generate any kind of test object with just one line of code. </p>
63-
<p> Complex test objects can be easily generated with the Builder Pattern. </p>
62+
<p> Instantiate your instance by one line </p>
63+
<p> All the properties can be customizable using the familiar notation within the Builder Pattern. </p>
6464
</div>
6565
</div>
6666
<div class="col-lg-5">
6767
<div class="p-3 mt-3 feature-text-container text-center">
6868
<i class="mt-5 fa-solid fa-recycle me-2 fa-2xl"></i>
6969
<h2 class="h3">Reusability</h2>
7070
<p> Define complex specifications once and reuse them! </p>
71-
<p> Configurations of instances can be reused across multiple tests. </p>
71+
<p> It is interoperable in any environment, and requires no complex setup</p>
7272
</div>
7373
</div>
7474
<div class="col-lg-5">
7575
<div class="p-3 mt-3 feature-text-container text-center">
7676
<i class="mt-5 fa-solid fa-dice me-2 fa-2xl"></i>
7777
<h2 class="h3">Randomness</h2>
78-
<p> Make your tests more dynamic by randomly generating test objects. </p>
79-
<p> You can uncover edge cases that may remain hidden when using static data. </p>
78+
<p> Except for important properties within the concern, the remaining properties are randomly populated. </p>
79+
<p> You can discover the important properties without paying attention. </p>
8080
</div>
8181
</div>
8282
</div>

0 commit comments

Comments
 (0)