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

Commit 2dcdbdd

Browse files
committed
Documentation for automated tests
1 parent 474ff87 commit 2dcdbdd

File tree

2 files changed

+15
-1
lines changed

2 files changed

+15
-1
lines changed

‎docs/development-guide.md‎

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,15 @@ npm run compile
3333
Now, depending on which part you want to work on follow the relevant section
3434
below.
3535

36+
## Development Tools
37+
38+
To support a good develop workflow we set up [TSLint][tslint], [Prettier][prettier] and integration tests using [Jest][jest]:
39+
40+
yarn run check # (runs lint, prettier and tests)
41+
yarn run lint
42+
yarn run test
43+
yarn run test:coverage
44+
3645
## Working on the client
3746

3847
### Visual Studio Code
@@ -64,3 +73,6 @@ I'm open to suggestions on how to improve this workflow.
6473

6574
[LSP]: https://microsoft.github.io/language-server-protocol/
6675
[ide-bash]: https://github.com/mads-hartmann/ide-bash
76+
[jest]: https://facebook.github.io/jest/
77+
[prettier]: https://prettier.io/
78+
[tslint]: https://palantir.github.io/tslint/

‎package.json‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,9 @@
2020
"lint:bail": "tslint --project vscode-client && tslint --project server",
2121
"test": "jest --runInBand --forceExit",
2222
"test:coverage": "npm run test -- --coverage",
23-
"test:watch": "npm run test -- --watch"
23+
"test:watch": "npm run test -- --watch",
24+
"check": "npm run lint && npm run test",
25+
"check:bail": "npm run lint:bail && npm run test"
2426
},
2527
"devDependencies": {
2628
"@types/jest": "^22.2.2",

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /