- download the
trainee package(given by trainer ) & unzip it - maintain the
authorin thetraining.config.jsonfile npm installto install dependencies- run the
npm run downloadcommand to get the latest tests cases (trainee should do thedownloadever time when the trainer publish new tests) - adjust the generated cases &
npm run test& make all test cases passed
- maintain the
specsurl in thetraining.config.jsonfile, replace thetraining001with a unique id likecorp-a-b-training-001 - maintain the
specsdefinitions insrc/testslikesrc/tests/basics/sum-1.js - self impl/test
npm run uploadto publish tests (and let trainees do thedownloadcommand)npm run generateto generate trainee package in thedistdirectory (first time)
This project is integrated github with workflow, once you fork/update your repository (on github), the workflow will be executed automatically.
This project will lint the javascript style by eslint, but the code could be automatic fixed by vscode predefined configuration
This project is based on the Jest test framework