Skip to content

Commit 6bae409

Browse files
committed
docs: object mother diagrams
1 parent 7ed9e39 commit 6bae409

File tree

3 files changed

+8
-0
lines changed

3 files changed

+8
-0
lines changed

object-mother/README.md

+8
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,14 @@ wiki.c2.com says
3737
> 2. providing methods to update the objects during the tests, and
3838
> 3. if necessary, deleting the object from the database at the completion of the test.
3939
40+
Mind map
41+
42+
![Object Mother mind map](./etc/object-mother-mind-map.png)
43+
44+
Flowchart
45+
46+
![Object Mother flowchart](./etc/object-mother-flowchart.png)
47+
4048
## Programmatic Example of Object Mother Pattern in Java
4149

4250
The Object Mother is a design pattern that aims to provide an easy way to create objects for testing purposes. It encapsulates the logic for building instances of complex objects in one place, making it easier to maintain and reuse across multiple tests.
108 KB
Loading
150 KB
Loading

0 commit comments

Comments
 (0)