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
Copy file name to clipboardExpand all lines: docs/test-plan.md
+11-7Lines changed: 11 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -18,7 +18,9 @@ choose to go through some of the Optional Test Cases.
18
18
19
19
## Required Test Cases
20
20
21
-
### Test Case 1: MRVA - Running a problem path query and viewing results
21
+
### MRVA
22
+
23
+
#### Test Case 1: Running a problem path query and viewing results
22
24
23
25
1. Open the [javascript UnsafeJQueryPlugin query](https://github.com/github/codeql/blob/main/javascript/ql/src/Security/CWE-079/UnsafeJQueryPlugin.ql).
24
26
2. Run a MRVA against the following repo list:
@@ -47,7 +49,7 @@ choose to go through some of the Optional Test Cases.
47
49
6. Once the query completes:
48
50
- Check that the query history item is updated to show the query status as "complete"
49
51
50
-
### Test Case 2: MRVA - Running a problem query and viewing results
52
+
####Test Case 2: Running a problem query and viewing results
51
53
52
54
1. Open the [javascript ReDoS query](https://github.com/github/codeql/blob/main/javascript/ql/src/Performance/ReDoS.ql).
53
55
2. Run a MRVA against the "Top 10" repositories.
@@ -60,7 +62,7 @@ choose to go through some of the Optional Test Cases.
### Test Case 3: MRVA - Running a non-problem query and viewing results
65
+
####Test Case 3: Running a non-problem query and viewing results
64
66
65
67
1. Open the [cpp FunLinesOfCode query](https://github.com/github/codeql/blob/main/cpp/ql/src/Metrics/Functions/FunLinesOfCode.ql).
66
68
2. Run a MRVA against a single repository (e.g. `google/brotli`).
@@ -73,7 +75,7 @@ choose to go through some of the Optional Test Cases.
73
75
74
76

75
77
76
-
### Test Case 4: MRVA - Interacting with query history
78
+
####Test Case 4: Interacting with query history
77
79
78
80
1. Click a history item (for MRVA):
79
81
- Check that exporting results works
@@ -84,17 +86,19 @@ choose to go through some of the Optional Test Cases.
84
86
3. Click "View Logs":
85
87
- Check that the correct workflow is opened
86
88
87
-
### Test Case 5: MRVA - Canceling a variant analysis run
89
+
####Test Case 5: Canceling a variant analysis run
88
90
89
91
Run one of the above MRVAs, but cancel it from within VS Code:
90
92
91
93
- Check that the query is canceled and the query history item is updated.
92
94
- Check that the workflow run is also canceled.
93
95
- Check that any available results are visible in VS Code.
94
96
95
-
### Test Case 6: MRVA - Change to a different colour theme
97
+
### General
98
+
99
+
#### Test case 1: Change to a different colour theme
96
100
97
-
Open one of the above MRVAs, try changing to a different colour theme and check that everything looks sensible.
101
+
Open at least one of the above MRVAs and at least one local query, then try changing to a different colour theme and check that everything looks sensible.
0 commit comments