Skip to content

Latest commit

 

History

History
41 lines (25 loc) · 731 Bytes

codegrade_setup.md

File metadata and controls

41 lines (25 loc) · 731 Bytes

Codegrade Setup

1- Fixtures

Student-Facing

Non-Student-Facing

2- Global Setup Script

curl -fsSL https://deb.nodesource.com/setup_16.x | sudo -E bash - && sudo apt-get install -y nodejs; cg-jest install; npm i -g [email protected]

3- Per-Student Setup Script

mv $FIXTURES/* . && npm install

4- Auto Tests

Learner-Facing - Weight 99

NODE_ENV=testing cg-jest run -- codegrade_mvp.test.js --runInBand --forceExit

Non-Learner-Facing - Weight 1

NODE_ENV=testing cg-jest run -- codegrade_mvp1.test.js --runInBand --forceExit

5- Rubric

etc etc