lrs-conformance-test-suite
lrs-conformance-test-suite copied to clipboard
Optional Version Argument
Added an argument to specify a version of the xAPI spec. This (hopefully) removes the hard-coded 1.0.3 string dependence and was implemented to let LRS Frontend site users test the 2.0 spec in an exploratory fashion ahead of the 2.0 release.
Changes:
- Addition of an xAPI Version argument (
-x
or--xapiVersion
) which will select the test directory matching the specified version - Addition of a
specConfig.js
folder for mapping xAPI versions to their test directories - Specifying both
--directory
and--xapiVersion
will cause an exit,--xapiVersion
is essentially wrapping the directory argument