audition

Design, prototype, and verify code


Keywords
test, tdd
License
MIT
Install
npm install audition@1.7.0

Documentation

audition

npm Build Status dependencies Status devDependencies Status

Design, prototype, and verify code

Usage

Install audition by running:

yarn add audition

Write test cases in e.g. math.test.js:

import { example } from 'audition'
import assert from 'assert'

example('doing math', () => {
  assert(1 + 1 === 2)
})

example('doing math incorrectly', () => {
  assert(1 + 1 === 3)
})

Execute the test cases:

yarn audition math.test.mjs

View additional documentation:

yarn audition --help