File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -47,12 +47,33 @@ e.g. to run all compiler baseline tests:
4747jake runtests tests=compiler
4848```
4949
50- or to run specifc test: ` tests\cases\compiler\2dArrays.ts `
50+ or to run a specific test: ` tests\cases\compiler\2dArrays.ts `
5151
5252``` Shell
5353jake runtests tests=2dArrays
5454```
5555
56+ ## Debugging the tests
57+
58+ To debug the tests, invoke the runtests-browser using jake.
59+ You will probably only want to debug one test at a time:
60+
61+ ``` Shell
62+ jake runtests-browser tests=2dArrays
63+ ```
64+
65+ You can specify which browser to use for debugging. Currently Chrome and IE are supported:
66+
67+ ``` Shell
68+ jake runtests-browser tests=2dArrays browser=chrome
69+ ```
70+
71+ You can debug with VS Code or Node instead with ` jake runtests debug=true ` :
72+
73+ ``` Shell
74+ jake runtests tests=2dArrays debug=true
75+ ```
76+
5677## Adding a Test
5778To add a new testcase, simply place a ` .ts ` file in ` tests\cases\compiler ` containing code that exemplifies the bugfix or change you are making.
5879
You can’t perform that action at this time.
0 commit comments