👌
CS241 Test Script
Installation
npm install -g cs241-test
Usage
cs241-test [compiler] [testFile]
-
compiler
is the compiled version of c++/racket code -
testFile
is a single YAML file which contains all test cases
Example Usage
make
cs241-test ./asm test.yaml
How to create tests
CLICK HERE to see an example test.yaml
file
Follow this exact template to create your own tests:
<testName>:
in: |-
<input here>
out: |
<output here>
error: true || false # default is false