RangeShifter / RScore

RangeShifter's core simulation code
GNU General Public License v3.0
0 stars 0 forks source link

RScore has a main to run tests #17

Closed TheoPannetier closed 6 months ago

TheoPannetier commented 9 months ago

Fix:

Depends on:

There is no reason for unit tests to be done through one of the interfaces - they should instead be run within the core code directly, so that we are confident that the tests hold true for all interfaces.

To enable this, I have written a simple main to allow RScore to run on its own without an interface. main only runs the unit tests, and exits with 0 if all tests complete successfully (or 1 otherwise). The tests themselves are only drafts so far, I will populate the test functions with unit tests this week.

Having RScore running on its own also enables continuous integration, so I deployed it (check.yml, see the successful build here).

TheoPannetier commented 6 months ago

main and GHA workflow have been deployed, but unit tests are not yet ready. Closing this for now!