doc: add list of testing packages together with their usage
This commit is contained in:
parent
5acc27c6d9
commit
bf1cd72f7c
|
@ -46,6 +46,11 @@ This is also pre-defined in the npm script `typeorm:migrate`.
|
|||
|
||||
The testing framework of choice is [Mocha](https://mochajs.org/). Call `npm run test` to run all tests. Tests are written in typescript and need to be transpiled before testing.
|
||||
|
||||
- assertion is (mainly) done by [Chai](https://www.chaijs.com/)
|
||||
- Electron specific testing is done by [Spectron](https://electronjs.org/spectron)
|
||||
- spies, stubs and mocks are provided by [Sinon.JS](https://sinonjs.org/)
|
||||
- HTTP server mocking is done by [nock](https://github.com/nock/nock)
|
||||
|
||||
#### Tagging
|
||||
|
||||
Mocha does [not have a seperate tagging feature](https://github.com/mochajs/mocha/wiki/Tagging), but it can filter via title. Us the following tags in your test titles:
|
||||
|
|
Loading…
Reference in New Issue