Expect.js

E131728

Expect.js is a minimalist JavaScript assertion library that provides a readable, expressive syntax for writing tests, commonly used alongside frameworks like Mocha.

All labels observed (3)

Label Occurrences
Jest expect API 2
Expect.js canonical 1
expect.js 1

How this entity was disambiguated

Statements (50)

Predicate Object
instanceOf JavaScript assertion library
open-source software
category software testing tool
unit testing library
compatibleWith CommonJS module system
surface form: CommonJS modules
creator TJ Holowaychuk
designGoal human-readable tests
minimal API surface
documentation https://github.com/Automattic/expect.js#readme
ecosystem Node.js testing ecosystem
firstReleased 2011
hasAlternative Chai
Expect.js self-linksurface differs
surface form: Jest expect API
hasAuthor TJ Holowaychuk
hasFeature chained assertions
containment checks
custom error messages
deep equality checks
expressive syntax
length checks
readable assertions
regular expression matching
throw error assertions
truthiness checks
type checks
hasNpmPackage Expect.js self-linksurface differs
surface form: expect.js
inspiredBy BDD assertion styles
isMinimalist true
license MIT License
maintainer Automattic
originalRepository https://github.com/LearnBoost/expect.js
programmingLanguage JavaScript
provides BDD-style assertions
assertion functions
repository https://github.com/Automattic/expect.js
supports Node.js environment
array content assertions
asynchronous test assertions
browser environment
negated assertions via .not
object property assertions
supportsStyle expect(fn).to.throwError
expect(value).to.be
expect(value).to.be.ok
expect(value).to.contain
expect(value).to.equal
usedFor integration testing
unit testing
usedWith JavaScript testing frameworks
Mocha

How these facts were elicited

Referenced by (4)

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

Mocha compatibleWith Expect.js
Expect.js hasNpmPackage Expect.js self-linksurface differs
this entity surface form: expect.js
Expect.js hasAlternative Expect.js self-linksurface differs
this entity surface form: Jest expect API
Jest hasComponent Expect.js
this entity surface form: Jest expect API