Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit952ea0f

Browse files
committed
Add instructions on how to debug tests
1 parent6aeec13 commit952ea0f

File tree

1 file changed

+16
-1
lines changed

1 file changed

+16
-1
lines changed

‎CONTRIBUTING.md

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,12 +47,27 @@ e.g. to run all compiler baseline tests:
4747
jake runtests tests=compiler
4848
```
4949

50-
or to runspecifc test:`tests\cases\compiler\2dArrays.ts`
50+
or to runa specific test:`tests\cases\compiler\2dArrays.ts`
5151

5252
```Shell
5353
jake 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+
5671
##Adding a Test
5772
To add a new testcase, simply place a`.ts` file in`tests\cases\compiler` containing code that exemplifies the bugfix or change you are making.
5873

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp