Changes between Initial Version and Version 1 of PromotBrowserTest0.8.4


Ignore:
Timestamp:
Aug 18, 2011, 4:32:24 PM (14 years ago)
Author:
danker
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • PromotBrowserTest0.8.4

    v1 v1  
     1== ProMoT Browser (v0.8.4) ==
     2
     3=== Expectation (functional tests) ===
     4 * load: all models from kb should load
     5 * import SBML: all biomodels should load (delay not supported)
     6 * export SBML: model should be valid and match expected simulation results (which tool for tests, workflow/scripting needed)
     7 * import CNA (signaling): all example models from CNA should be imported and be identical (as close as possible) after export/round trip
     8 * export CNA (signaling): exported models should be ok for CNA (how to test?)
     9 * export diana: model should be simulatable, simulation result should be identical to expected result within given threshold
     10 * save: versions (include library, library separate (model only), with dependencies): compare file as text with expectation, test whole kb/examples?
     11
     12=== Tests for browser in JUnit tests ===
     13
     14 1. round trip tested [source:/Promot/trunk/promot/src/gui/org/mpg/dcts/promot/cna/CNAImporterTest.java] for cna-model (sigtoynet-test) in test-suite   [source:/Promot/trunk/promot/kb/testsuite/CNA/sigtoynet-test/]
     15 2. junit test [source:/Promot/trunk/promot/src/gui/org/mpg/dcts/promot/test/CmdAddSubclassTest.java]
     16 3. junit test [source:/Promot/trunk/promot/src/gui/org/mpg/dcts/promot/test/CmdDeleteTest.java]
     17 4. junit test [source:/Promot/trunk/promot/src/gui/org/mpg/dcts/promot/PromotTest.java]
     18 5. junit test [source:/Promot/trunk/promot/src/gui/org/mpg/dcts/promot/test/CmdCopyClassTest.java]
     19 6. junit test [source:/Promot/trunk/promot/src/gui/org/mpg/dcts/promot/test/CmdSelectTest.java]
     20 7. junit test [source:/Promot/trunk/promot/src/gui/org/mpg/dcts/promot/test/CmdChangeAbstractTest.java]
     21    junit test [source:/Promot/trunk/promot/src/gui/org/mpg/dcts/promot/test/CmdChangeModelTest.java]
     22 8. junit test for parametrization (from diana and general) [source:/Promot/trunk/promot/src/gui/org/mpg/dcts/promot/DianaDataReader/DianaDataReaderTest.java] [[BR]]
     23    [source:/Promot/trunk/promot/src/gui/org/mpg/dcts/promot/DianaDataReader/DianaDataReaderSetParameterTest.java] [[BR]]
     24    [source:/Promot/trunk/promot/src/gui/org/mpg/dcts/promot/test/ParameterTest.java] [[BR]]
     25[[BR]]
     26
     27=== Tests ===
     28
     29 9. '''Tree nodes of dynamic model:''' load ''egf model'' ([source:/Promot/trunk/promot/kb/SignalTransd/EGF-model/LOAD-EGF-MODEL.mdl]); check contents of model in browser tree. Success if ''dynamic-library'', ''dynamic-model'', and ''egf-model'' are present.
     30 10. '''Tree nodes of logical model:''' load ''logical library'' and ''toy model'' ([source:/Promot/trunk/promot/kb/SignalTransd/structure/toymodel.mdl]); check contents of model in browser tree. Success if ''struct-library'', ''struct-model'', and ''toy-model'' are present.
     31 12. '''Saving a model (selection/all):''' load '''egf model'''; save the model into mdl (selected classes, all classes), check that the generated mdl files contain (only) the selected classes
     32 13. '''Export to SBML''': load egf model, export the model to SBML, check generated file for completeness and correctness
     33 14. '''Export to Diana/Diva''': load egf model; export the model to Diana/Diva; check the generated files for completeness and correctness
     34 16. '''Changing properties in browser:''' select module, right-click for context menu, choose Change Property; check that changing the icon, '''abstract''' and '''model''' properties work as expected by looking at the source code (enable Show QuickView) and the color of the tree icon
     35 17. '''Simulation with Diana:''' load Hafke model ([source:/Promot/trunk/promot/kb/hafke/obertopp/LOAD.mdl]), select '''hafke-process''' (module --> device --> process), open simulation dialog from menu (Tools --> Simulate Model), check for diana app (see status in output log), edit the generation directory to '~/opertopp', click on 'Advanced...' in the solver options pane (new window with several options should appear), close options dialog, click on 'Simulate Model' button (simulation result should appear after a while, several text in output log), click on 'Edit Script' button (text editor should appear with python script), edit the script (e.g. set Tend to 60.0), save, simulate again (tend should be 60.0 now), click on 'reset' button (files in directories 'model', 'script' and 'results' should be removed, status in output log, 'Edit Script' button should be disabled).
     36
     37===  Visual Inspection for ===
     38 18. Start Visual Editor for a class
     39 19. Start Visual Explorer for a class
     40 20. View Mathematical Model [[BR]] Display of an instance (View --> View Math Model)
     41 21. Exit with Dialog for modified in Editor + Browser (change properties, load, import)
     42 22. Search class [[BR]] Search class (+class for slot in class) dialog, model type is not important, so test with egf_model, [[BR]]
     43      search egf_model (substring, class + slot; class) should return egf_model (class), egf_model_noint (class) [[BR]]
     44      search proti (whole word, class + slot; slot) should return egf_model:proti (slot) [[BR]]
     45      clear should remove displayed results;
     46 23. Comparison of models [[BR]] Load two different glycolysis models, e.g. [source:/Promot/trunk/promot/kb/testsuite/mdl/hynne.mdl] and [source:/Promot/trunk/promot/kb/testsuite/mdl/teusink.mdl]. Select the model classes (direct sub-classes of sbml-model) in browser and choose  'View --> Compare  selected Models' from menu. Visual explorer should open, models should be displayed in common container. Edges connecting corresponding elements should be visible. Other example models for comparison (elements with same type +annotation or type + name) can be load with [source:/Promot/trunk/promot/kb/testsuite/mdl/egf+insulin.mdl]. [[BR]]
     47 24. Export documentation as HTML [[BR]] Open model, select model, export HTML (File --> Export --> Export HTML), use default options, click on 'Generate HTML' button, check results in a standard web browser.
     48
     49=== Open for testing ===
     50 * Option handling save, restore?
     51 * Test undo/redo in browser, include in tests for functionality if applicable
     52 * Export model to Matlab
     53
     54=== Known problems, missing tests ===
     55 * model of PromotTree under async updates
     56   - array index out of bounds,
     57   - display problems with null nodes in selection/displayed (update to slow, might be same problem as index out of bounds)
     58   - recovery from exception (refresh, seems to not restore content completely)
     59 * menu construction
     60   - only finished after PaletteWindow constructed at least once or JFileChooser dialog finished (open/import, directory select in export)
     61   - text for menu entries larger than pop-down menu (only vista so far, not happening after build (release version), cross-platform problem?)
     62
     63