Skip to content

Commit 3f83027

Browse files
authored
Merge pull request #3010 from github/nora/modeling-flow-testplan
Add method modeling flow to test plan
2 parents fb33879 + 0e53067 commit 3f83027

File tree

1 file changed

+26
-4
lines changed

1 file changed

+26
-4
lines changed

docs/test-plan.md

Lines changed: 26 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -152,11 +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 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
155157

156158
#### Test Case 2: Model methods
157159

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

190193
## Optional Test Cases
191194

192-
These are mostly aimed at MRVA, but some of them are also applicable to non-MRVA queries.
193-
194-
### Selecting repositories to run on
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
215+
216+
### Selecting MRVA repositories to run on
195217

196218
#### Test case 1: Running a query on a single repository
197219

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

224-
### Using different types of controller repos
246+
### Using different types of controller repos for MRVA
225247

226248
#### Test case 1: Running a query when the controller repository is public
227249

0 commit comments

Comments
 (0)