Skip to content
This repository has been archived by the owner on Jun 17, 2020. It is now read-only.
/ test.js Public archive

A lightweight, xUnit-style unit testing framework for JavaScript

License

Notifications You must be signed in to change notification settings

harto/test.js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

test.js - an xUnit-style unit testing framework for JavaScript

test.js is a lightweight, environment-agnostic framework that provides a traditional xUnit-style API. It may be run from within a browser, from a command-line, or anywhere else (provided that a bootstrap script is written).

Only a Rhino-based test runner exists at this stage. It's assumed that an installation of Rhino is available as the `js' command.

Launching Rhino test runner

Launching the Rhino-based test runner:

$ bin/test.sh <my-test-scripts>

Running self-testing unit tests:

$ bin/self-test.sh

Writing tests

See examples/ for common use cases.

(TODO: document assertions)

About

A lightweight, xUnit-style unit testing framework for JavaScript

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published