Skip to content

Commit 8cd0996

Browse files
update manual test plan for new features (#5498)
1 parent 4c4f155 commit 8cd0996

File tree

3 files changed

+27
-0
lines changed

3 files changed

+27
-0
lines changed

.github/test_plan.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -381,6 +381,25 @@ def test_failure():
381381
1. Verify the output from what you added
382382
- [ ] Verify dark and light main themes
383383
1. Repeat the `Start and connect to local server` and `Verify basic outputs` steps using `Default Dark+` and `Default Light+` themes
384+
- [ ] Verify Variable Explorer
385+
1. After manualTestFile.py has been run drop down the Variables section at the top of the Interactive Window
386+
1. In the Variables list there should be an entry for all variables created. These variables might change as more is added to manualTestFile.py.
387+
1. Check that variables have expected values. They will be truncated for longer items
388+
1. Sort the list ascending and descending by Type. Also sort the list ascending and descenting by Count. Values like (X, Y) use the first X value for Count sort ordering
389+
1. Check that list, Series, ndarray, and DataFrame types have a button to "Show variable in data viewer" on the right
390+
1. In the Interactive Window input box add a new variable. Verify that it is added into the Variable Explorer
391+
- [ ] Verify Data Explorer
392+
1. From the listed types in the Variable explorer open up the Data Viewer by clicking the button or double clicking the row
393+
1. Inspect the data in the Data Viewer for the expected values
394+
[ ] Verify Sorting and Filtering
395+
1. Open up the myDataFrame item
396+
1. Sort the name column ascending and descending
397+
1. Sort one of the numerical columns ascending and descending
398+
1. Click the Filter Rows button
399+
1. In the name filter box input 'a' to filter to just name with an a in them
400+
1. In one of the numerical columns input a number 1 - 9 to filter to just that column
401+
1. Open the myList variable in the explorer
402+
1. Make sure that you can scroll all the way to the end of the entries
384403

385404
#### P1 Test Scenarios
386405
- [ ] Connect to a `remote` server

news/3 Code Health/5476.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Update manual test plan for Variable Explorer and Data Viewer

src/test/datascience/manualTestFiles/manualTestFile.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,3 +41,10 @@
4141

4242
#%% Magics
4343
%whos
44+
45+
#%% Some extra variable types for the variable explorer
46+
myNparray = np.array([['Bob', 1, 2, 3], ['Alice', 4, 5, 6], ['Gina', 7, 8, 9]])
47+
myDataFrame = pd.DataFrame(myNparray, columns=['name', 'b', 'c', 'd'])
48+
mySeries = myDataFrame['name']
49+
myList = [x ** 2 for x in range(0, 100000)]
50+
myString = 'testing testing testing'

0 commit comments

Comments
 (0)