-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtdd-cycle.drawio
More file actions
46 lines (46 loc) · 3.44 KB
/
tdd-cycle.drawio
File metadata and controls
46 lines (46 loc) · 3.44 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
<mxfile host="65bd71144e">
<diagram id="tdd-cycle-diagram" name="TDD Cycle">
<mxGraphModel dx="826" dy="617" grid="0" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="850" pageHeight="1100" math="0" shadow="0">
<root>
<mxCell id="0"/>
<mxCell id="1" parent="0"/>
<mxCell id="red_circle" value="1. Red
Write Failing Test" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;fillColor=#ff6b6b;strokeColor=#ff4757;fontColor=#FFFFFF;fontSize=14;fontStyle=1" parent="1" vertex="1">
<mxGeometry x="140" y="120" width="120" height="120" as="geometry"/>
</mxCell>
<mxCell id="green_circle" value="2. Green<br>Make Test Pass" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;fillColor=#2ecc71;strokeColor=#27ae60;fontColor=#FFFFFF;fontSize=14;fontStyle=1" parent="1" vertex="1">
<mxGeometry x="450" y="120" width="120" height="120" as="geometry"/>
</mxCell>
<mxCell id="4" style="edgeStyle=none;html=1;strokeWidth=4;rounded=0;curved=1;entryX=0.617;entryY=1.008;entryDx=0;entryDy=0;entryPerimeter=0;" parent="1" source="refactor_circle" target="red_circle" edge="1">
<mxGeometry relative="1" as="geometry">
<mxPoint x="200" y="240" as="targetPoint"/>
<Array as="points">
<mxPoint x="220" y="320"/>
</Array>
</mxGeometry>
</mxCell>
<mxCell id="refactor_circle" value="3. Refactor<br>Improve Code" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;fillColor=#3498db;strokeColor=#2980b9;fontColor=#FFFFFF;fontSize=14;fontStyle=1" parent="1" vertex="1">
<mxGeometry x="290" y="300" width="120" height="120" as="geometry"/>
</mxCell>
<mxCell id="title" value="Test-Driven Development Cycle" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontSize=20;fontStyle=1" parent="1" vertex="1">
<mxGeometry x="275" y="220" width="150" height="30" as="geometry"/>
</mxCell>
<mxCell id="2" value="" style="endArrow=classic;html=1;entryX=0;entryY=0.5;entryDx=0;entryDy=0;exitX=1;exitY=0.5;exitDx=0;exitDy=0;strokeWidth=4;rounded=0;curved=1;" parent="1" source="red_circle" target="green_circle" edge="1">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="270" y="190" as="sourcePoint"/>
<mxPoint x="320" y="140" as="targetPoint"/>
<Array as="points">
<mxPoint x="350" y="100"/>
</Array>
</mxGeometry>
</mxCell>
<mxCell id="3" style="edgeStyle=none;html=1;entryX=1.008;entryY=0.35;entryDx=0;entryDy=0;entryPerimeter=0;strokeWidth=4;rounded=0;curved=1;" parent="1" source="green_circle" target="refactor_circle" edge="1">
<mxGeometry relative="1" as="geometry">
<Array as="points">
<mxPoint x="480" y="300"/>
</Array>
</mxGeometry>
</mxCell>
</root>
</mxGraphModel>
</diagram>
</mxfile>