https://github.com/alfianandinugraha/first-mocha
Learn Mocha with Sinon.js and Chai.js for Test-Driven Development 🧪
https://github.com/alfianandinugraha/first-mocha
chai example learning mocha sinon test-driven-development ttd
Last synced: 3 months ago
JSON representation
Learn Mocha with Sinon.js and Chai.js for Test-Driven Development 🧪
- Host: GitHub
- URL: https://github.com/alfianandinugraha/first-mocha
- Owner: alfianandinugraha
- License: mit
- Created: 2022-02-28T18:27:09.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-02-28T18:36:45.000Z (over 3 years ago)
- Last Synced: 2025-02-07T03:29:12.088Z (5 months ago)
- Topics: chai, example, learning, mocha, sinon, test-driven-development, ttd
- Language: HTML
- Homepage: https://first-mocha.netlify.app/
- Size: 386 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# First Mocha 🧪

Mocha report with Mochawesome
Learning Mocha is interesting. Create some tests, run, and show the red color LMAO. Different from Jest, Mocha needs an external plugin to develop testing.
- [Sinon.js](https://sinonjs.org/). Plugin for stub, mock, and spy dependencies
- [Chai.js](https://www.chaijs.com/). Plugin for creating assertion
- [Mochawesome](https://gitter.im/mochawesome/general). Plugin for generating documentation about your test case