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).
Fix:
16
Depends on:
15
(please review & merge
cmake_batch
first!)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 with0
if all tests complete successfully (or1
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).