Network Analyzer Test Cases
Preconditions |
Test Case ID |
Instructions |
Expected Results |
Date Executed |
Pass/Fail |
1. Start Cytoscape |
NA1 |
Run Analyze Network command as undirected |
It pops up a new result dialog and creates several new statistics as table data |
7/2/2012 |
Pass |
NA2 |
Run Analyze Network command as directed |
It pops up a new result dialog and creates several new statistics as table data. It should creates new columns valid only for directed craphs (like inDegree/outDegree) |
7/2/2012 |
Pass |
|
NA3 |
Select some nodes and edges and then run Analyze Subset of Nodes command as undirected |
It pops up a new result dialog and creates several new statistics as table data |
7/2/2012 |
Pass |
|
NA4 |
Select some nodes and edges and then run Analyze Subset of Nodes command as directed |
It pops up a new result dialog and creates several new statistics as table data. It should creates new columns valid only for directed craphs (like inDegree/outDegree) |
7/2/2012 |
Pass |
|
NA5 |
Run Batch Analysis command for a directory with several network files |
|
7/5/2012 |
Fail |
|
NA6 |
Repeat NA1 and save the result to a file. Then load the file from Network Statistics menu |
|
|
|
|
NA7 |
Select Plot Parameters and make sure all buttons works with the newly created paramaters |
|
|
|
|
NA8 |
Select Visualize Parameter menu and select Degree as Node Size and Color, and Edge Betweenness to Edge Width and Color |
New Visual Style should be created and update current network view |
7/3/2012 |
Pass |
|
NA9 |
Open NetworkAnalyzer Settings panel and edit color scheme for Visualization. Then Repeat NA8 |
Visualization result should reflect the changes in the setting panel |
7/3/2012 |
Pass |
|
NA10 |
Open About dialog for Network Analyzer |
It pops up about dialog |
7/2/2012 |
Pass |
|
NA11 |
Open Compare Two Networks command and select all check boxes |
|
7/2/2012 |
N/A (Disabled because network merge has similar function) |
|
NA12 |
Select Connected Components command and extract some subcomponents |
|
7/3/2012 |
Pass |
Command Test Cases
Preconditions |
Test Case ID |
Instructions |
Expected Results |
Date Executed |
Pass/Fail |
1. Start Cytoscape |
CM1 |
Load a sample command file |
Script runs and creates a new network |
|
|
CM2 |
Select List All Commands menu |
A dialog appears and all commands should be displayed |
|
|
Scripting Test Cases
Preconditions |
Test Case ID |
Instructions |
Expected Results |
Date Executed |
Pass/Fail |
1. Start Cytoscape |
SC1 |
Load a sample script to create complete graph |
Script creates a complete graph with 20 nodes. |
7/5/2012 |
Pass |
SC2 |
Run the same script from gogo shell by typing cytoscape:script javascript SCRIPT_FILE_NAME |
Script creates a complete graph with 20 nodes. |
7/5/2012 |
Pass |
Network Merge Test Cases
Preconditions |
Test Case ID |
Instructions |
Expected Results |
Date Executed |
Pass/Fail |
1. Start Cytoscape |
GM1 |
Before precondition step 5 select the Union operation |
A new graph should be created displaying the merged networks (If this does not happen see preconditions Note) |
7/9/2012 |
Pass |
GM2 |
Before precondition step 5 select the Intersection operation |
A new graph should be created displaying the common nodes from the two networks |
7/9/2012 |
Pass |
|
GM3 |
Before precondition step 5 select the Difference operation (order matters) |
A new graph should be created displaying the parts of the first network that are not in the second network |
7/9/2012 |
Pass |