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