Changes between Version 7 and Version 8 of PromotBrowserTest


Ignore:
Timestamp:
Jul 16, 2009, 9:55:20 AM (16 years ago)
Author:
rempel
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • PromotBrowserTest

    v7 v8  
    1010 * save: versions (include library, library separate (model only), with dependencies): compare file as text with expectation, test whole kb/examples?
    1111
     12Tests for browser in JUnit tests:
     13 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/]
     14 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)
     15 3. junit test [source:/Promot/trunk/promot/src/gui/org/mpg/dcts/promot/test/CmdAddSubclassTest.java]
     16 4. junit test [source:/Promot/trunk/promot/src/gui/org/mpg/dcts/promot/test/CmdDeleteTest.java]
     17 5. junit test [source:/Promot/trunk/promot/src/gui/org/mpg/dcts/promot/PromotTest.java]
     18 6. junit test [source:/Promot/trunk/promot/src/gui/org/mpg/dcts/promot/test/CmdCopyClassTest.java]
     19 
    1220Tests:
    1321
    14  1. success iff 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?
    15  2. same as 1. with different library and model (toy-model)
    16  3. tested with import + simulation of all biomodels.org models, TODO: test for correctness of simulation results
    17  4. 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/]
    18  5. 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
    19  6. 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
    20  7. Export egf-model to Diana/Diva, compare generated file with expected output (file content + simulation results), TODO: export should work (be tested) for all models in kb
    21  8. 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)
    22  9. junit test [source:/Promot/trunk/promot/src/gui/org/mpg/dcts/promot/test/CmdAddSubclassTest.java]
    23  10. junit test [source:/Promot/trunk/promot/src/gui/org/mpg/dcts/promot/test/CmdDeleteTest.java]
    24  11. junit test [source:/Promot/trunk/promot/src/gui/org/mpg/dcts/promot/PromotTest.java]
    25  12. junit test [source:/Promot/trunk/promot/src/gui/org/mpg/dcts/promot/test/CmdCopyClassTest.java]
     22 7. success iff 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?
     23 8. same as 1. with different library and model (toy-model)
     24 9. tested with import + simulation of all biomodels.org models, TODO: test for correctness of simulation results
     25 10. 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
     26 11. 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
     27 12. Export egf-model to Diana/Diva, compare generated file with expected output (file content + simulation results), TODO: export should work (be tested) for all models in kb
    2628 13. Select a class, a class with superclasses, a class with dependencies, a class with dependents, all classes in tree
    2729 14. Run script, test with default inputs for synthetic biology scripts
     
    2931
    3032Visual Inspection for:
    31  1. Start Visual Editor for a class
    32  2. Start Visual Explorer for a class
    33  3. ViewMathematicalModel (display of instance)
    34  4. Exit with Dialog for modified in Editor + Browser (change properties, load, import)
    35  5. Search class (+class for slot in class) dialog, model type is not important, so test with egf_model, [[br]]
     33 16. Start Visual Editor for a class
     34 17. Start Visual Explorer for a class
     35 18. ViewMathematicalModel (display of instance)
     36 19. Exit with Dialog for modified in Editor + Browser (change properties, load, import)
     37 20. Search class (+class for slot in class) dialog, model type is not important, so test with egf_model, [[br]]
    3638      search egf_model (substring, class + slot; class) should return egf_model (class), egf_model_noint (class) [[br]]
    3739      search proti (whole word, class + slot; slot) should return egf_model:proti (slot) [[br]]