lrs-conformance-test-suite icon indicating copy to clipboard operation
lrs-conformance-test-suite copied to clipboard

Optional Version Argument

Open vbhayden opened this issue 3 years ago • 0 comments

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

vbhayden avatar Jun 01 '21 15:06 vbhayden