- Fork this project
- update
package.json, maintain your own packagename, and other information likeauthor. - maintain the
authorin thetraining.config.json - start your work
- maintain the
specsin thetraining.config.jsonfile npm run downloadto get the latest tests casesnpm run test& generate the test cases in thesrc/casesdirectory for training- adjust the generated cases & make all test cases passed
- commit & push to github, then github will automatic check your cases
- maintain the
rolein thetraining.config.jsonfile - maintain the
specsin thetraining.config.jsonfile, replace thetraining001with a unique id likecorp-a-b-training-001 - maintain the
specsdefinitions insrc/testslikesrc/tests/basics/sum-1.js - self test
npm run uploadto publish- share the
specslink to your trainees
This project is integrated github with workflow, once you fork/update your repository (on github), the workflow will be executed automaticly.
This project will lint the commit message, just ref this document
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