Version 1 (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
- Import a CNA model, Export a logical model into CNA format
- Add a subclass
- Delete a class
- Delete all classes
- Copy class
- Select a class, a class with superclasses, a class with dependencies, a class with dependents, all classes in tree
- Change properties: abstract, model (including undo)
- 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
- load mdl model, example egf-model (includes library), test presence (content?) of PromotTreeNodes in lisp + browser
- Load the logical library and a model
- Import a SBML model
- Save a model into mdl (selected, all)
- Export a dynamic model into SBML
- Export a dynamic model into Diana/Diva?
- Run script, test with default inputs for synthetic biology scripts
- change properties: icon, model, abstract (including undo)
- Simulate model
visual inspection for:
- Start Visual Editor for a class
- Start Visual Explorer for a class
- ViewMathematicalModel (display of instance)
- Exit with Dialog for modified in Editor + Browser (change properties, load, import)
- Search class
- Comparison of models
- 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
- Save a model (as)
- Close the editor
- Drag&Drop a class from the BrowserTree to the Modules-palette/ ConstructionArea
- Drag&Drop a class from the Modules-palette to the ConstructionArea
- Delete a class in the Modules-palette
- Dispose a slot in the ConstructionArea
- Open a further Visual Editor for the class of a slot
- Rename a slot (unconnected/connected)
- Connect two slots
- Translate a slot
- Propagate a terminal from a slots port (logical gate terminal, logical compound terminal, dynamic terminals)
- EditDetailsDialog (single changes/combination of changes)
- Copy&Paste a selection of slots (inside one/ between two editors)
- Elevate a modules content to the current level (de-modularization)
- Create a new class from a selection (modularization)
- Export graphics
- Set Map number
- Set module size
- Fit module size
- Apply a layout
- Test ShourtCuts
- Test Checker for logical and dynamic models
- Test flipping of nodes
- Test action create links
- Test refactoring of terminal names
Tests for Promot Visual Explorer
JUnit Tests
- Check correct parsing of delimited text file, delimiter is <TAB>
- Check correct mapping of loaded node and edge attributes, two external files
- Check that the logical parameter 'Multiple Level' is correctly parsed and calculated
- Test part of the logical network parser, especially parsing of DUMMY element and NOT element
- Check that the global scenario file is at the given location and calculators are loaded and parsed properly from the properties file
- Check that the interaction distance of elements in the network model based on a focused element is calculated properly
Tests
- Import/export layout
- Import/export attributes
- Export graphics
- Export logical model
- Edit scenarios, new/copy/rename/remove/mappings
- Load user-defined (local) scenarios
- Save user-defined (local) scenarios
- Exit with/without dialog
Visual Inspection
- Export GraphML (yEd style)
- Apply orthogonal layout to network
- Apply flat layout to network
- Adjust node width
- Grid layer on/off
- Squiggle layer on/off
- Status layer on/off
- Overview layer on/off
- Legend for visual scenarios (on/off/correct mappings)
- Navigation mode: Interactive Zoom
- Navigation mode: Hierarchy Zoom
- Navigation mode: Fisheye Zoom
- Navigation mode: Focus Zoom
- Editing mode: Editing (move/resize all/resize border/edit edge handles)
- Legend for modes (on/off)
- Show (all) icons on/off
- Show (all) details on/off
- Show (all) labels on/off
- Show (all) label boxes on/off
- Edge: Go to source
- Edge: Go to target
- Edge: Zoom along Edge
- Search for node/edge in network
- Check model type
Not tested/not critical/trivial
- Statistics dialog
- Options (General, Rendering, Navigation, Scenarios)
- LOD of nodes, edges and text labels