Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mrdulin/mocha-chai-sinon-codelab
Learning testing with Mocha, Chai, Sinon By Examples
https://github.com/mrdulin/mocha-chai-sinon-codelab
chai examples mocha mocha-chai-sinon mocha-tests mocha-typescript mochajs nodejs sinon sinon-js sinonjs stackoverflow test test-framework testing testing-framework testing-tools tutorial unit-test unit-testing
Last synced: 2 months ago
JSON representation
Learning testing with Mocha, Chai, Sinon By Examples
- Host: GitHub
- URL: https://github.com/mrdulin/mocha-chai-sinon-codelab
- Owner: mrdulin
- License: mit
- Created: 2019-11-15T05:27:08.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2023-12-08T05:20:23.000Z (about 1 year ago)
- Last Synced: 2024-10-01T06:30:47.440Z (3 months ago)
- Topics: chai, examples, mocha, mocha-chai-sinon, mocha-tests, mocha-typescript, mochajs, nodejs, sinon, sinon-js, sinonjs, stackoverflow, test, test-framework, testing, testing-framework, testing-tools, tutorial, unit-test, unit-testing
- Language: JavaScript
- Homepage:
- Size: 733 KB
- Stars: 9
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# mocha-chai-sinon-codelab
Learning testing with Mocha, Chai, Sinon By Examples
## test
Run all test suites
```bash
npm test
```Run all test suites with coverage report:
```bash
npm run test:coverage
```Run tests for a single test file. E.g.
```bash
npm run test:single /Users/ldu020/workspace/github.com/mrdulin/mocha-chai-sinon-codelab/src/stackoverflow/58955304/index.spec.js
```Run tests for a single test file with coverage report. E.g.
```bash
npm run test:s:c /Users/ldu020/workspace/github.com/mrdulin/mocha-chai-sinon-codelab/src/stackoverflow/58955304/index.spec.js
```---