| 1 | = ProMoT Test Plan (release 0.8.5) = |
| 2 | |
| 3 | This page contains a collection of testing procedures which have to be run by hand. [[BR]] |
| 4 | The purpose is to ensure that new releases of ProMoT do not break existing functionality. [[BR]] |
| 5 | |
| 6 | [wiki:PromotTestResults0.8.5 Test results] are reported on a separate page. |
| 7 | |
| 8 | == [wiki:PromotBrowserTest JUnit Tests for Promot Browser] == |
| 9 | 1. Import a CNA model, Export a logical model into CNA format |
| 10 | 2. Add a subclass |
| 11 | 3. Delete a class |
| 12 | 4. Delete all classes |
| 13 | 5. Copy class |
| 14 | 6. Select a class, a class with superclasses, a class with dependencies, a class with dependents, all classes in tree |
| 15 | 7. Change properties: abstract, model (including undo) |
| 16 | 8. Parametrization from diana (optional) |
| 17 | |
| 18 | == [wiki:PromotBrowserTest Tests for Promot Browser] == |
| 19 | server functionality is tested implicitly for: import SBML, export CNA/DIVA/diana, load, save, add subclass, delete class, copy class[[BR]] |
| 20 | for load all models from kb should be loadable, without warnings would be nice |
| 21 | 9. load mdl model, example egf-model (includes library), test presence (content?) of !PromotTreeNodes in lisp + browser |
| 22 | 10. Load the logical library and a model |
| 23 | 11. Import a SBML model |
| 24 | 12. Save a model into mdl (selected, all) |
| 25 | 13. Export a dynamic model into SBML |
| 26 | 14. Export a dynamic model into Diana/Diva |
| 27 | 15. Run script, test with default inputs for synthetic biology scripts |
| 28 | 16. change properties: icon, model, abstract (including undo) |
| 29 | 17. Simulate model |
| 30 | |
| 31 | visual inspection for: |
| 32 | 18. Start Visual Editor for a class |
| 33 | 19. Start Visual Explorer for a class |
| 34 | 20. !ViewMathematicalModel (display of instance) |
| 35 | 21. Exit with Dialog for modified in Editor + Browser (change properties, load, import) |
| 36 | 22. Search class |
| 37 | 23. Comparison of models |
| 38 | 24. Export documentation as HTML |
| 39 | |
| 40 | not tested/not critical: |
| 41 | * !TextEditor (depends only on read of text file) [[BR]] |
| 42 | * !SuperClassViewer (super-classes for class tested in select)[[BR]] |
| 43 | * !SubClassesViewer (sub-classes of class tested in select)[[BR]] |
| 44 | * Export model to Matlab [[BR]] |
| 45 | |
| 46 | |
| 47 | == [wiki:PromotEditorTest Tests for ProMoT Visual Editor] == |
| 48 | |
| 49 | 1. Save a model (as) |
| 50 | 2. Close the editor |
| 51 | 3. Drag&Drop a class from the !BrowserTree to the Modules-palette/ !ConstructionArea |
| 52 | 4. Drag&Drop a class from the Modules-palette to the !ConstructionArea |
| 53 | 5. Delete a class in the Modules-palette |
| 54 | 6. Dispose a slot in the !ConstructionArea |
| 55 | 7. Open a further Visual Editor for the class of a slot |
| 56 | 8. Rename a slot (unconnected/connected) |
| 57 | 9. Connect two slots |
| 58 | 10. Translate a slot |
| 59 | 11. Propagate a terminal from a slots port (logical gate terminal, logical compound terminal, dynamic terminals) |
| 60 | 12. !EditDetailsDialog (single changes/combination of changes) |
| 61 | 13. Copy&Paste a selection of slots (inside one/ between two editors) |
| 62 | 14. Elevate a modules content to the current level (de-modularization) |
| 63 | 15. Create a new class from a selection (modularization) |
| 64 | 16. Export graphics |
| 65 | 17. Set Map number |
| 66 | 18. Set module size |
| 67 | 19. Fit module size |
| 68 | 20. Apply a layout |
| 69 | 21. Test !ShourtCuts |
| 70 | 22. Test Checker for logical and dynamic models |
| 71 | 23. Test flipping of nodes |
| 72 | 24. Test action create links |
| 73 | 25. Test refactoring of terminal names |
| 74 | |
| 75 | |
| 76 | == [wiki:PromotExplorerTest Tests for Promot Visual Explorer] == |
| 77 | |
| 78 | === JUnit Tests === |
| 79 | |
| 80 | 1. Check correct parsing of delimited text file, delimiter is <TAB> |
| 81 | 2. Check correct mapping of loaded node and edge attributes, two external files |
| 82 | 3. Check that the logical parameter 'Multiple Level' is correctly parsed and calculated |
| 83 | 4. Test part of the logical network parser, especially parsing of DUMMY element and NOT element |
| 84 | 5. Check that the global scenario file is at the given location and calculators are loaded and parsed properly from the properties file |
| 85 | 6. Check that the interaction distance of elements in the network model based on a focused element is calculated properly |
| 86 | |
| 87 | |
| 88 | === Tests === |
| 89 | |
| 90 | 7. Import/export layout |
| 91 | 8. Import/export attributes |
| 92 | 9. Export graphics |
| 93 | 10. Export logical model |
| 94 | 11. Edit scenarios, new/copy/rename/remove/mappings |
| 95 | 12. Load user-defined (local) scenarios |
| 96 | 13. Save user-defined (local) scenarios |
| 97 | 14. Exit with/without dialog |
| 98 | |
| 99 | === Visual Inspection === |
| 100 | |
| 101 | 15. Export GraphML (yEd style) |
| 102 | 16. Apply orthogonal layout to network |
| 103 | 17. Apply flat layout to network |
| 104 | 18. Adjust node width |
| 105 | 19. Grid layer on/off |
| 106 | 20. Squiggle layer on/off |
| 107 | 21. Status layer on/off |
| 108 | 22. Overview layer on/off |
| 109 | 23. Legend for visual scenarios (on/off/correct mappings) |
| 110 | 24. Navigation mode: Interactive Zoom |
| 111 | 25. Navigation mode: Hierarchy Zoom |
| 112 | 26. Navigation mode: Fisheye Zoom |
| 113 | 27. Navigation mode: Focus Zoom |
| 114 | 28. Editing mode: Editing (move/resize all/resize border/edit edge handles) |
| 115 | 29. Legend for modes (on/off) |
| 116 | 30. Show (all) icons on/off |
| 117 | 31. Show (all) details on/off |
| 118 | 32. Show (all) labels on/off |
| 119 | 33. Show (all) label boxes on/off |
| 120 | 34. Edge: Go to source |
| 121 | 35. Edge: Go to target |
| 122 | 36. Edge: Zoom along Edge |
| 123 | 37. Search for node/edge in network |
| 124 | 38. Check model type |
| 125 | |
| 126 | === Not tested/not critical/trivial === |
| 127 | |
| 128 | 39. Statistics dialog |
| 129 | 40. Options (General, Rendering, Navigation, Scenarios) |
| 130 | 41. LOD of nodes, edges and text labels |