tomcl / ADDIE

GNU General Public License v3.0
1 stars 3 forks source link

More DC Testcases (+AC/Transient) #12

Open apantelopoulos opened 1 year ago

apantelopoulos commented 1 year ago

ADDIE should have proper tests that check all of the supported features to ensure that the correctness of the algorithms doesn't break when making changes or improvements. Given that the simulation requires the use of NodeJS packages, the tests cannot run on the .NET environment (as done in ISSIE).

The interface to run the tests is already set up and this is done via the Tests tab on the RHS pane which appears only when ADDIE runs in dev mode (i.e. does not appear when published as a desktop app).

An example of a test exists in Simulator/Tests.fs. To add a test, follow a similar pattern to testCase1 in Simulator/Tests.fs.