-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathtest-plan.txt
78 lines (41 loc) · 1.59 KB
/
test-plan.txt
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
test-plan.txt
Pre-release test plan
---------------------
This is a work-in-progress test plan. I intend to expand it as I add
new features I can't easily test automatically.
---------------------
Test: make_check
* Run "make check".
Check that it succeeds.
---------------------
Test: objgraph
* Run "./ded tests/objgraph.ded".
Check that attribute "succ: -> n2" appears in the "n1" box.
Check that "anotherAttrib: 123" is in "n1".
Check that "bad_id" has in its attributes area:
<no node with ID: "bad_id">
Check that below that is a node whose title area says:
<No such attr key: "badAttr">
* Right-click on "n1", "Follow pointer", "succ".
Check that "n2" is created with a "succ" edge to it.
Check that "succ" is no longer displayed in "n1".
* Resize "n2" so all of its text can be seen.
Check that "pred" is in "n2".
* Right-click on "n2", "Follow pointer", "pred".
Check that a "pred" edge going back to "n1" has been created.
Check that "pred" no longer is in "n2".
* Right-click on "n1", "Follow pointer", "notHere".
Check that an error appears about no "null" node found.
* Dismiss the error.
* Choose menu "Diagram" -> "Edit object graph..."
Check that the JSON is displayed in the dialog.
* Insert "x" at the start of the JSON, then press Ok.
Check that a parse error dialog is shown.
* Dismiss the error.
Check that we are back at the JSON dialog.
* Remove the stray "x".
* Delete the "anotherAttrib" line, then press Ok.
Check that the dialog closes successfully.
Check that "anotherAttrib" is gone from "n1".
* Quit without saving.
EOF