Simple js test framework
JavaScript HTML
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
example change .done() to .print() Sep 11, 2013 v 1.2.3 Mar 11, 2016
LICENSE Initial commit Jul 23, 2013 remove ru version Nov 20, 2015 rename Oct 13, 2013 [fix] quering window crashes in nodejs Mar 11, 2016 minified last changes Mar 11, 2016

TDD testing framework.

Availible in nodejs


  • to use dev console instead of page DOM (in browser)
  • to avoid crashes
  • to avoid differences in results of tests of one and the same code
  • to provide the ease of use
  • to provide async testing
  • to provide particular output
  • multilevel nesting
  • chaining


  • OOP
  • Strategy pattern

Test types

  • validity of expression or value
  • equality between 2 or more values
  • constructor (type) of value


How to install

There are some differences between usage in different environment like browser or nodejs.


  • First: add core of framework

<script src='path/to/'></script>
+ Next: add output strategy and set `firebugConsole` as default printer 

<script src='path/to/'></script>

Of course you can include test.printer(firebugConsole); in your tests script.

Hint: add <script> tags to the end of your <body> tag.

btw you can use this construction:

<!-- framework -->
<script src='./'></script>
<!-- print to firebug console -->
<script src='./'></script>
<!-- set firebugConsole as default printer  -->
<!-- your script -->
<script src='./script.js'></script>
<!-- your tests -->
<script src='./tests.js'></script>
<!-- a trick to not worry about the call of test.print() -->


  • First: install framework and output module

npm install '' npm install '' ```

**Hint:** *you can use [`-g`]( flag to install them globally*
  • Second: add core of framework and output module, set it as default printer

test = require(''); nodeConsole = require(''); test.printer(nodeConsole); btw you can use this construction:javascript (test = require('')).printer(require('')); ```

**Info:** *Output module is not required! You can use without any output at all.*

It's repo takes place [here](


How to use

You can find the API manual on wiki

Online demo

Look at it right here