= ProMoT Test Plan = This page contains a collection of testing procedures which have to be run by hand. [[BR]] The purpose is to ensure that new releases of ProMoT do not break existing functionality. [[BR]] [wiki:PromotTestResults Test results] are reported on a separate page. == [wiki:PromotBrowserTest Tests for Promot Browser] == server functionality is tested implicitly for: import SBML, export CNA/DIVA/diana, load, save, add subclass, delete class, copy class[[BR]] for load all models from kb should be loadable, without warnings would be nice 1. load mdl model, example egf-model (includes library), test presence (content?) of PromotTreeNodes in lisp + browser 2. Load the logical library and a model 3. Import a SBML model 4. Import a CNA model 5. Save a model into mdl (selected, all) 6. Export a dynamic model into SBML 7. Export a dynamic model into Diana/Diva 8. Export a logical model into CNA format 9. Add a subclass 10. Delete a class 11. Delete all classes 12. Copy class 13. Select a class, a class with superclasses, a class with dependencies, a class with dependents, all classes in tree 14. Run script, test with default inputs for synthetic biology scripts 15. change properties: icon, abstract, model (including undo) visual inspection for: 16. Start Visual Editor for a class 17. Start Visual Explorer for a class 18. ViewMathematicalModel (display of instance from model) for egf_model, in egf-model not tested/not critical: TextEditor (depends only on read of text file) [[BR]] SuperClassViewer (super-classes for class tested in select)[[BR]] SubClassesViewer (sub-classes of class tested in select)[[BR]] == [wiki:PromotEditorTest Tests for ProMoT Visual Editor] == 1. Save a model (as) 2. Close the editor 3. Drag&Drop a class from the !BrowserTree to the Modules-palette/ !ConstructionArea 4. Drag&Drop a class from the Modules-palette to the !ConstructionArea 5. Delete a class in the Modules-palette 6. Dispose a slot in the !ConstructionArea 7. Open a further Visual Editor for the class of a slot 8. Rename a slot (unconnected/connected) 9. Connect two slots 10. Translate a slot 11. Propagate a terminal from a slots port (logical gate terminal, logical compound terminal, dynamic terminals) 12. Copy&Paste a selection of slots (inside one/ between two editors) 13. !EditDetailsDialog (single changes/combination of changes) 14. Elevate a modules content to the current level (de-modularization) 15. Create a new class from a selection (modularization) 16. Export graphics 17. Set Map number 18. Set parameter to selection 19. Set module size 20. Fit module size == [wiki:PromotExplorerTest Tests for Promot Visual Explorer] == 1. Changes --> close 2. Import/export layout 3. Import node and edge attributes 4. Export graphics 5. Export logical model 6. Apply orthogonal layout to network 7. Grid layer on/off 8. Squiggle layer on/off 9. Status layer on/off 10. Overview layer on/off 11. Legend layer on/off/correct mappings 12. Navigation mode: Interactive Mode 13. Navigation mode: Hierarchy Mode 14. Navigation mode: Fisheye Mode 15. Navigation mode: Focus Mode 16. Editing mode: move/resize all/resize border/edit edge handles 17. Show (all) icons: on/off 18. Show (all) details: on/off 19. Show (all) labels: on/off 20. Show (all) label boxes: on/off 21. Edge: Go to source 22. Edge: Go to target 23. Edit scenario: new/copy/rename/remove/mappings 24. Save scenarios (to USER_HOME) 25. Load global scenarios 26. Load local scenarios 27. Scenarios: Logical Network Parser