imitator-model-checker / imitator

IMITATOR is a parametric timed model checker taking as input extensions of parametric timed automata, and synthesizing parameter valuations for safety properties and more.
https://www.imitator.fr/
GNU General Public License v3.0
26 stars 12 forks source link

Possible improvements for the test script #180

Open tomaz1502 opened 6 months ago

tomaz1502 commented 6 months ago

I would like to discuss some possible improvements in the test script (tests/test.py):

  1. I think the tests should be sandboxed (i.e. they should run in a specific folder that will be destroyed after the execution of the tests). It is a bit inconvenient that the script creates many files in the current directory every time it is executed. If I forget to enter a new temporary folder before running the tests then the folder I am in gets completely filled with .res files.

  2. I think the script should build and install the project before running the tests. If you forget to build and install imitator before running the tests, then their result is meaningless. This would also be aligned with the semantics of dune runtest, which makes sure that the project is built before running the tests.