git.iko.soy/rowtype-yoga/purescm
on bytevector help sign in
30 lines 755 B history raw
1# purescm
3## Testing
5### Adding test cases
71. Create the test cases in `test/resources/purescript/src/PureScheme/Test`.
8 Keep each module as small as possible and don't be afraid to create multiple
9 modules.
112. Run `python gen_tests.py`.
12 This will compile the modules to Scheme and leave the output in
13 `test/resources/scheme`.
153. Check the output for correctness.
174. You're done, you just added new test cases.
18 Commit both the source files and the output files.
20### Moving/renaming/deleting modules
221. Make your changes to the PureScript source files.
242. Remove all the contents from `test/resources/scheme`.
263. Run `python gen_tests.py`.
284. Check the output for correctness.
305. Commit both the source files and the output files.