@sinonjs/referee
    Overview
    Documentation
    Insights
    Code
    Contributors
    Dependencies
    Alternatives

@sinonjs/referee

Assertions for any JavaScript test framework and environment

3.2.0  •  Updated 1 years ago  •  by sinonjs  •  BSD 3-Clause "New" or "Revised" License

referee

Build Status Coverage Status

referee is in your unit tests, deciding who passes and who fails.

It is a test-framework agnostic assertion and expectation library, designed to work with your choice of test runner. Some highlights:

  • Rich library of assertions
  • Supports custom assertions
  • Symmetric assert/refute (refute is referee’s “assert.not*”)
  • Evented: Emits success and failure events
  • Failing assertions throw exceptions by default, but can be configured to not
  • API to add custom assertions that provides quite a bit of plumbing for free
  • 100% test coverage (enforced with test-check-coverage in package.json)

referee works in browsers (including old and rowdy ones, like IE11) and Node (LTS versions). It will define itself as an AMD module if you want it to (i.e. if there’s a define function available).

Documentation

https://sinonjs.github.io/referee/

Backers

Support us with a monthly donation and help us continue our activities. [Become a backer]

Sponsors

Become a sponsor and get your logo on our README on GitHub with a link to your site. [Become a sponsor]

Licence

referee was released under BSD-3

How often do you use dark themes on other websites?

Popularity

Weekly Downloads
434
Stars
27

Maintenance

Development

Last ver 1 year ago
Created 2 years ago
Last commit 22 days ago
5 days between commits

Technology

Node version: 10.14.2
184.2K unpacked

Compliance

BSD 3-Clause "New" or "Revised" License
OSI Approved
0 vulnerabilities

Contributors

23 contributors
Christian Johansen
299 commits
Morgan Roderick
Maintainer, 201 commits, 92 merges, 56 PRs
Christian Johansen
Maintainer, 52 commits, 7 merges
Works at http://kodemaker.no
Maximilian Antoni
Maintainer, 42 commits, 13 merges, 20 PRs
Works at javascript-studio yourbarmate
dependabot-preview[bot]
34 commits
dependabot-preview
19 merges, 41 PRs
Ready for the next level?
Join Openbase's founding team to help us build the ultimate open-source app store, work with the latest technologies, and enjoy great culture, impact and autonomy
Openbase helps developers choose among and use millions of open-source packages, so they can build amazing products faster.
© 2020 Devstore, Inc.