wiki:PromotTestPlan0.8.4

Version 2 (modified by mirschel, 14 years ago) (diff)

--

ProMoT Test Plan (release 0.8.4)

This page contains a collection of testing procedures which have to be run by hand.
The purpose is to ensure that new releases of ProMoT do not break existing functionality.

Test results are reported on a separate page.

JUnit Tests for Promot Browser

  1. Import a CNA model, Export a logical model into CNA format
  2. Add a subclass
  3. Delete a class
  4. Delete all classes
  5. Copy class
  6. Select a class, a class with superclasses, a class with dependencies, a class with dependents, all classes in tree
  7. Change properties: abstract, model (including undo)
  8. Parametrization from diana (optional)

Tests for Promot Browser

server functionality is tested implicitly for: import SBML, export CNA/DIVA/diana, load, save, add subclass, delete class, copy class
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. Save a model into mdl (selected, all)
  5. Export a dynamic model into SBML
  6. Export a dynamic model into Diana/Diva?
  7. Run script, test with default inputs for synthetic biology scripts
  8. change properties: icon, model, abstract (including undo)
  9. Simulate model

visual inspection for:

  1. Start Visual Editor for a class
  2. Start Visual Explorer for a class
  3. ViewMathematicalModel (display of instance)
  4. Exit with Dialog for modified in Editor + Browser (change properties, load, import)
  5. Search class
  6. Comparison of models
  7. Export documentation as HTML

not tested/not critical:

  • TextEditor (depends only on read of text file)
  • SuperClassViewer (super-classes for class tested in select)
  • SubClassesViewer (sub-classes of class tested in select)
  • Export model to Matlab

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. EditDetailsDialog (single changes/combination of changes)
  13. Copy&Paste a selection of slots (inside one/ between two editors)
  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 module size
  19. Fit module size
  20. Apply a layout
  21. Test ShourtCuts
  22. Test Checker for logical and dynamic models
  23. Test flipping of nodes
  24. Test action create links
  25. Test refactoring of terminal names

Tests for Promot Visual Explorer

JUnit Tests

  1. Check correct parsing of delimited text file, delimiter is <TAB>
  2. Check correct mapping of loaded node and edge attributes, two external files
  3. Check that the logical parameter 'Multiple Level' is correctly parsed and calculated
  4. Test part of the logical network parser, especially parsing of DUMMY element and NOT element
  5. Check that the global scenario file is at the given location and calculators are loaded and parsed properly from the properties file
  6. Check that the interaction distance of elements in the network model based on a focused element is calculated properly

Tests

  1. Import/export layout
  2. Import/export attributes
  3. Export graphics
  4. Export logical model
  5. Edit scenarios, new/copy/rename/remove/mappings
  6. Load user-defined (local) scenarios
  7. Save user-defined (local) scenarios
  8. Exit with/without dialog

Visual Inspection

  1. Export GraphML (yEd style)
  2. Apply orthogonal layout to network
  3. Apply flat layout to network
  4. Adjust node width
  5. Grid layer on/off
  6. Squiggle layer on/off
  7. Status layer on/off
  8. Overview layer on/off
  9. Legend for visual scenarios (on/off/correct mappings)
  10. Navigation mode: Interactive Zoom
  11. Navigation mode: Hierarchy Zoom
  12. Navigation mode: Fisheye Zoom
  13. Navigation mode: Focus Zoom
  14. Editing mode: Editing (move/resize all/resize border/edit edge handles)
  15. Legend for modes (on/off)
  16. Show (all) icons on/off
  17. Show (all) details on/off
  18. Show (all) labels on/off
  19. Show (all) label boxes on/off
  20. Edge: Go to source
  21. Edge: Go to target
  22. Edge: Zoom along Edge
  23. Search for node/edge in network
  24. Check model type

Not tested/not critical/trivial

  1. Statistics dialog
  2. Options (General, Rendering, Navigation, Scenarios)
  3. LOD of nodes, edges and text labels