Build a test suite made of unit tests
Set up a test suite with reference results to:
- check that the library is well supported (i.e. compiles and simulates) by Dymola and OpenModelica.
- perform some regression tests between two ThermoSysPro versions (could be useful when developing a new version)
Provide scripts to automate test running and deploy CI in Git.
Activity
-
Newest first Oldest first
-
Show all activity Show comments only Show history only
- Audrey Jardin changed milestone to %ThermoSysPro v4.1
changed milestone to %ThermoSysPro v4.1
- Audrey Jardin added CI/Dymola CI/OpenModelica CI/regression labels
added CI/Dymola CI/OpenModelica CI/regression labels
- Audrey Jardin changed title from Build a test suite to check ThermoSysPro compliance with Dymola and OpenModelica and perform some regression test between two ThermoSysPro versions to Build a test suite with reference results
changed title from Build a test suite to check ThermoSysPro compliance with Dymola and OpenModelica and perform some regression test between two ThermoSysPro versions to Build a test suite with reference results
- Audrey Jardin changed the description
changed the description
- Audrey Jardin changed title from Build a test suite with reference results to Build a test suite made of unit tests
changed title from Build a test suite with reference results to Build a test suite made of unit tests
- Audrey Jardin added Modeli label
added Modeli label
- Audrey Jardin removed Modeli label
removed Modeli label
- Owner
Some existing projects that could be used:
- Lapapasta/ThermoSysPro_testsuite (github.com) → preliminary stand-alone code developed by an intern)
- Philipp Emanuel Stelzig / MoPyRegtest · GitLab → Modelica regression tests in pyhon (focusing on OpenModelica)
- RWTH-EBC/MoCITempGen: Modelica CI Template generation tool (github.com) → Modelica CI Template generation tool (focusing on Dymola)
- Author Owner
@giorgio.simonini : Could be interested to update the issue with the work done with Phimeca.
Edited by Audrey Jardin - Audrey Jardin assigned to @giorgio.simonini
assigned to @giorgio.simonini
- Audrey Jardin assigned to @sarah.hocine-rastic and unassigned @giorgio.simonini
assigned to @sarah.hocine-rastic and unassigned @giorgio.simonini
- Audrey Jardin assigned to @giorgio.simonini and unassigned @sarah.hocine-rastic
assigned to @giorgio.simonini and unassigned @sarah.hocine-rastic
- Audrey Jardin changed milestone to %ThermoSysPro v4.x
changed milestone to %ThermoSysPro v4.x
- Audrey Jardin added DevComAdvice label
added DevComAdvice label
- Audrey Jardin changed milestone to %ThermoSysPro v4.2
changed milestone to %ThermoSysPro v4.2
- Owner
Work to build a test suite from scratch has started in Q4/2024. The code is hosted here) (private repository). The first steps consisted in:
- Create a Modelica library with typical "errors".
- Create a parallel launcher for both OpenModelica and Dymola.
The next steps will focus on running generating a common output of informations and then on processing result files to track changes.