Skip to content

Commit 0e53067

Browse files
committed
Move test cases to optional and polish
1 parent 7bade3e commit 0e53067

File tree

1 file changed

+25
-19
lines changed

1 file changed

+25
-19
lines changed

docs/test-plan.md

Lines changed: 25 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -152,27 +152,14 @@ Run one of the above MRVAs, but cancel it from within VS Code:
152152
- Check that the editor loads and shows methods to model.
153153
- Check that methods are grouped per library (e.g. `rocksdbjni@7.7.3` or `asm@6.0`)
154154
- Check that the "Open database" link works.
155-
- Check that a method can have multiple models:
156-
- add a couple of new models for one method
157-
- save and check that the modeling file (use the 'open extension pack' button to open it) shows multiple methods
158-
- check that a 'duplicated classification' error appears in both model editor and modeling panel when a duplicate modeling occurs
159-
- check that a 'conflicting classigication' error appears when a neutral model type is paired with a source kind
160-
- check that clicking on the error highlights the correct modeling in both the editor and the modeling panel
161-
3. Check the Method Usage
162-
- Check that the Method Usage Panel opens and jumps to the correct usage when clicking on 'View' in the model editor
163-
- Check that the usages are opening when clicking on a usage
164-
- Check that the usage icon color turns green when saving a newly modeled method
165-
- Check that the usage icon color turns red when saving a newly unmodeld method
166-
4. Check the Method Modeling
167-
- Check that the 'Start modeling' button opens a new model editor
168-
- Check that it refreshes the blank state when a model editor is opened/closed
169-
- Check that when modeling in the editor the modeling panel updates accordingly
170-
- Check that when modeling in the modeling panel the model editor updates accordingly
155+
- Check that the 'View' button works and the Method Usage panel highlight the correct method and usage
156+
- Check that the Method Modeling panel shows the correct method and modeling state
171157

172158
#### Test Case 2: Model methods
173159

174160
1. Expand one of the libraries.
175161
- Change the model type and check that the other dropdowns change.
162+
- Check that the method modeling panel updates accordingly
176163
2. Save the modeled methods.
177164
3. Click "Open extension pack"
178165
- Check that the file explorer opens a directory with a "models" directory
@@ -205,9 +192,28 @@ Are there any components that are not showing up?
205192

206193
## Optional Test Cases
207194

208-
These are mostly aimed at MRVA, but some of them are also applicable to non-MRVA queries.
195+
### Modeling Flow
196+
197+
1. Check that a method can have multiple models:
198+
- Add a couple of new models for one method in the model editor
199+
- Save and check that the modeling file (use the 'open extension pack' button to open it) shows multiple methods
200+
- Check that the Method Modeling Panel shows the correct multiple models
201+
- Check that you can browse through different models in the Method Modeling Panel
202+
- Check that a 'duplicated classification' error appears in both model editor and modeling panel when a duplicate modeling occurs
203+
- Check that a 'conflicting classification' error appears when a neutral model type is paired with a model of the same kind
204+
- Check that clicking on the error highlights the correct modeling in both the editor and the modeling panel
205+
2. Check the Method Usage Panel
206+
- Check that the Method Usage Panel opens and jumps to the correct usage when clicking on 'View' in the model editor
207+
- Check that the first and following usages are opening when clicking on a usage
208+
- Check that the usage icon color turns green when saving a newly modeled method
209+
- Check that the usage icon color turns red when saving a newly unmodeld method
210+
3. Check the Method Modeling Panel
211+
- Check that the 'Start modeling' button opens a new model editor
212+
- Check that it refreshes the blank state when a model editor is opened/closed
213+
- Check that when modeling in the editor the modeling panel updates accordingly
214+
- Check that when modeling in the modeling panel the model editor updates accordingly
209215

210-
### Selecting repositories to run on
216+
### Selecting MRVA repositories to run on
211217

212218
#### Test case 1: Running a query on a single repository
213219

@@ -237,7 +243,7 @@ These are mostly aimed at MRVA, but some of them are also applicable to non-MRVA
237243
4. The org contains private repositories that are inaccessible
238244
2. The org does not exist
239245

240-
### Using different types of controller repos
246+
### Using different types of controller repos for MRVA
241247

242248
#### Test case 1: Running a query when the controller repository is public
243249

0 commit comments

Comments
 (0)