29 | | 9. Success if no errors during export/load/save during script runs, |
30 | | sbml-import and diana export is tested for biomodels release 11 [source:/Promot/trunk/promot/scripts/sbml2mdl-runner], [source:/Promot/trunk/promot/scripts/mdl2diana-runner], egf-model as example for kb model for sbml export and diana export; Success for egf-model if valid sbml and diana files are exported (validity for diana can be tested with simulation on linux) |
31 | | 10. Success if library isPresent (included in file so file changes might break the test), model class present as PromotTreeNode, load egf model ([source:/Promot/trunk/promot/kb/SignalTransd/EGF-model/LOAD-EGF-MODEL.mdl]); test contents of model/PromotTreeNode? [[BR]] |
32 | | 11. Same as 1. with different library (logical library) and model (toy-model) |
33 | | 12. Tested with import + simulation of all biomodels.org models, TODO: test for correctness of simulation results; layout should work without exceptions |
34 | | 13. Save a model into mdl (selected, all), compare generated files to expected; depends on selection test (13), test round trip of load+save of example |
35 | | 14. Export egf-model to SBML, compare generated file with expected output (file content + simulation results), TODO: export should work (be tested) for all models in kb, which tool for simulation (scriptable required)? comparison of simulation results after SBML round trip |
36 | | 15. Export egf-model to Diana/Diva [[BR]] Compare generated file with expected output (file content + simulation results), TODO: export should work (be tested) for all models in kb |
37 | | 16. Run script [[BR]] Test with default inputs for synthetic biology scripts |
38 | | 17. Change property [[BR]] in Browser tree select module, mouse right-click for context menu, choose Change Property --> Icon (Abstract, Model) |
39 | | 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). |
| 29 | 9. Success if library isPresent (included in file so file changes might break the test), model class present as PromotTreeNode, load egf model ([source:/Promot/trunk/promot/kb/SignalTransd/EGF-model/LOAD-EGF-MODEL.mdl]); test contents of model/PromotTreeNode? [[BR]] |
| 30 | 10. Same as 1. with different library (logical library) and model (toy-model) |
| 31 | 11. Tested with import + simulation of all biomodels.org models, Success if no errors during export/load/save during script runs, [source:/Promot/trunk/promot/scripts/sbml2mdl-runner], [source:/Promot/trunk/promot/scripts/mdl2diana-runner], |
| 32 | 12. Save a model into mdl (selected, all), compare generated files to expected; depends on selection test (13), test round trip of load+save of example |
| 33 | 13. Export egf-model to SBML, compare generated file with expected output (file content + simulation results), TODO: export should work (be tested) for all models in kb, which tool for simulation (scriptable required)? comparison of simulation results after SBML round trip |
| 34 | 14. Export egf-model to Diana/Diva [[BR]] Compare generated file with expected output (file content + simulation results), TODO: export should work (be tested) for all models in kb |
| 35 | 15. Run script [[BR]] Test with default inputs for synthetic biology scripts |
| 36 | 16. Change property [[BR]] in Browser tree select module, mouse right-click for context menu, choose Change Property --> Icon (Abstract, Model) |
| 37 | 17. 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). |
42 | | 19. Start Visual Editor for a class |
43 | | 20. Start Visual Explorer for a class |
44 | | 21. View Mathematical Model [[BR]] Display of an instance (View --> View Math Model) |
45 | | 22. Exit with Dialog for modified in Editor + Browser (change properties, load, import) |
46 | | 23. Search class [[BR]] Search class (+class for slot in class) dialog, model type is not important, so test with egf_model, [[BR]] |
| 40 | 18. Start Visual Editor for a class |
| 41 | 19. Start Visual Explorer for a class |
| 42 | 20. View Mathematical Model [[BR]] Display of an instance (View --> View Math Model) |
| 43 | 21. Exit with Dialog for modified in Editor + Browser (change properties, load, import) |
| 44 | 22. Search class [[BR]] Search class (+class for slot in class) dialog, model type is not important, so test with egf_model, [[BR]] |
50 | | 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 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]] |
51 | | 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 standard web browser. |
| 48 | 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]] |
| 49 | 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. |