Changes between Version 14 and Version 15 of PromotBrowserTest


Ignore:
Timestamp:
Aug 20, 2010, 5:20:22 PM (15 years ago)
Author:
mirschel
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • PromotBrowserTest

    v14 v15  
    11== ProMoT Browser ==
    22
    3 Expectation (functional tests):
     3=== Expectation (functional tests) ===
    44 * load: all models from kb should load
    55 * import SBML: all biomodels should load (events are not imported, needs better error handling in functional tests)
     
    1010 * save: versions (include library, library separate (model only), with dependencies): compare file as text with expectation, test whole kb/examples?
    1111
    12 Tests for browser in JUnit tests:
     12=== Tests for browser in JUnit tests ===
     13
    1314 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/]
    1415 2. round trip tested, see 5. test-model for export of modular models would be nice although no problems for export are known yet, right now only tested for diana (no scripts for DIVA yet)
     
    2122    junit test [source:/Promot/trunk/promot/src/gui/org/mpg/dcts/promot/test/CmdChangeModelTest.java]
    2223 9. optional junit test for parametrization from diana [source:/Promot/trunk/promot/src/gui/org/mpg/dcts/promot/DianaDataReader/DianaDataReaderTest.java] [[BR]][[BR]]
    23 Tests:
     24
     25=== Tests ===
     26
    2427 10. Success if library isPresent (included in file so file changes might break the test), model class present as PromotTreeNode, [source:/Promot/trunk/promot/kb/SignalTransd/EGF-model/EGF-LOAD.mdl]; test contents of model/PromotTreeNode? [[BR]]
    2528 11. Same as 1. with different library and model (toy-model)
     
    3235 18. Simulate model [[BR]] Load hafke model ([source:/Promot/trunk/promot/kb/hafke/obertopp/LOAD.mdl]), select hafke-process (module --> device --> process) in Browser, 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).
    3336
    34 
    35 Visual Inspection for:
     37===  Visual Inspection for ===
    3638 19. Start Visual Editor for a class
    3739 20. Start Visual Explorer for a class
    38  21. ViewMathematicalModel (display of instance)
     40 21. !ViewMathematicalModel (display of instance)
    3941 22. Exit with Dialog for modified in Editor + Browser (change properties, load, import)
    4042 23. Search class (+class for slot in class) dialog, model type is not important, so test with egf_model, [[br]]
     
    4244      search proti (whole word, class + slot; slot) should return egf_model:proti (slot) [[br]]
    4345      clear should remove displayed results;
    44  24. 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 click compare models. Visual explorer should open, models should be displayed in common container. Edges connecting corresponding elements should be visible.
    45 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].
     46 24. 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 click compare models. 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 25. 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 web browser.
    4648
    47 Open for testing:
     49=== Open for testing ===
    4850option handling save, restore?
    4951test undo/redo in browser, include in tests for functionality if applicable
    5052
    51 Known problems, missing tests:
     53=== Known problems, missing tests ===
    5254 * model of PromotTree under async updates
    5355   - array index out of bounds,