Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
JavaScript
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
.gitignore
.gitmodules
cmd.js
package.json
readme.markdown
runner.js
test.js

readme.markdown

test command

simple module for making test runners.

This module is responsable for parsing the arguments, loading the test adapter, saving the report and being a process.

also see test-report

TODO:

  • parse --exclude option of dirnames to ignore.
  • if called without arguments default to ./test/*.js recursively, and ignore directories named fixtures or helpers
  • export a simple function to include within tests so that they may be directly. require('test-cmd').test(module) this could automatically check !module.parent etc
Something went wrong with that request. Please try again.