Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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
```

---

Flag Counter