You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 19, 2023. It is now read-only.
Copy file name to clipboardExpand all lines: ConwayGameOfLifeWithGUI/manuals/tests.md
+8-8Lines changed: 8 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -6,17 +6,17 @@ The following methods are used when testing the program.
6
6
7
7
A Java framework, JUnit5, has been used within the process. You may consult to `com.luox6.conway.test` for the written test cases.
8
8
9
-
### Included Sections
9
+
##Testing scenarios
10
10
11
-
####Cell
11
+
### Cell
12
12
13
13
Cell represents a single cell in the map
14
14
15
15
- clone a new cell with exact same state
16
16
- set status of the cell
17
17
- record survival times
18
18
19
-
####ConwayMap
19
+
### ConwayMap
20
20
21
21
ConwayMap is the a map represents the status of cells
22
22
@@ -27,15 +27,15 @@ ConwayMap is the a map represents the status of cells
27
27
-`toString` string representation/output format
28
28
- count cell statuses
29
29
30
-
####MapCollection
30
+
### MapCollection
31
31
32
32
MapCollection is a collection of ConwayMap, represent continuous progress from a single map
33
33
34
34
- map index increments
35
35
- collection reset
36
36
- identify calculated indexes
37
37
38
-
####MapModel
38
+
### MapModel
39
39
40
40
MapModel include extra functionality over Collection, where view required. E.g. current viewing map index
41
41
@@ -44,7 +44,7 @@ MapModel include extra functionality over Collection, where view required. E.g.
44
44
- set (can calculate, if necessary) index to given location
45
45
- input error handling
46
46
47
-
The above have tested class's construction, mutations, and expected string representation.
47
+
The above have tested model class's construction, mutations, and expected string representation.
48
48
49
49
### Run Unit Test
50
50
@@ -94,7 +94,7 @@ You may find the expected output in `tests/result` section. Use `diff` for the f
94
94
95
95
Some examples inspired by [Wikipedia](https://en.wikipedia.org/wiki/Conway%27s_Game_of_Life).
96
96
97
-
### GUI & Action test
97
+
### GUI & Action test strategies
98
98
99
99
As the underlying data representation has both tested by the unit test and the manual test section, for the GUI part, it is mostly focused whether the data bindings are working, or if target behaviors are reached.
100
100
@@ -133,7 +133,7 @@ in the test folder, `example2-result` contains the result where saved range from
133
133
134
134
#### Configuration
135
135
136
-
- setting persistence
136
+
- setting persistence (after application closed)
137
137
- setting update should immediately reflect to the board
0 commit comments