Mocha

E24469

Mocha is a popular JavaScript test framework used primarily for running unit and integration tests in Node.js and browser-based applications.


Statements (50)

Predicate Object
instanceOf JavaScript test framework
open-source software
commandLineTool mocha CLI
compatibleWith Keemun black tea
surface form: Chai

Expect.js
Should.js
Sinon
configurationMethod command-line options
configuration files
designGoal feature-rich
flexible
simple
ecosystem Node.js testing ecosystem
installCommand npm install mocha
license MIT License
packageManager npm
primaryUse integration testing
unit testing
programmingLanguage JavaScript
repositoryPlatform GitHub
runsOn Node.js
web browser
supports BDD interface
QUnit interface
TDD interface
TypeScript via transpilation
after hooks
afterEach hooks
asynchronous testing
before hooks
beforeEach hooks
behavior-driven development
custom reporters
exports interface
grep-based test selection
multiple reporters
require interface
synchronous testing
test filtering
test retries
test-driven development
timeouts
watch mode
supportsAssertionLibraries yes
testFileExtension .js
testFilePattern *.spec.js
*.test.js
usedFor backend testing
continuous integration test runs
frontend testing

Referenced by (1)

Full triples — surface form annotated when it differs from this entity's canonical label.

JavaScript originalName Mocha