A simple suite of tests that only involves checking the output of a set of commands for errors.
-
Clean the project:
$ grunt clean
-
Compile the project:
$ tsc tasks/ts.ts --module commonjs --sourcemap
-
Run the standard suite:
$ grunt ts
Verify that you see:
- a warning on the "warnbothcomments" task
- no compile output following the "nocompile" task
- an error at the end on the "fail" task.
- no errors before the "fail" task.
A comprehensive suite of tests that involves glancing at the contents of files.
1-3. Run the Patch Test
-
Verify that amdloader/js/app/loader.js was created
-
Verify that amdloader/js/test/loader.js was created
TODO: Look for other test cases to document here
TODO: Document this process