Skip to content
Sections
>> Trisquel >> Packages >> nabia >> web >> nodeunit
etiona  ] [  nabia  ] [  aramo  ]
[ Source: node-nodeunit  ]

Package: nodeunit (0.11.2+ds3-2)

Unit test framework for Node.js and the browser

This package provides easy async unit testing for Node.js and the browser.

Particularly, this module:

 * Is simple to use,
 * Just exports the tests from a module,
 * Works with node.js and in the browser,
 * Helps you avoid common pitfalls when testing asynchronous code,
 * Allows one to easily add test cases with setUp and tearDown
   functions,
 * Adds flexible reporters for custom output, built-in support
   for HTML & jUnit XML,
 * Allows one to use mocks and stubs.

Node.js is an event-based server-side JavaScript engine.

Other Packages Related to nodeunit

  • depends
  • recommends
  • suggests
  • dep: node-async
    functions and patterns for asynchronous code - Node.js
  • dep: node-ejs (>= 2.5.2)
    Embedded JavaScript templates
  • dep: node-tap (>= 7.0.0)
    Test-Anything-Protocol module for Node.js
  • dep: nodejs (>= 6)
    evented I/O for V8 javascript - runtime executable
    also a virtual package provided by node-pegjs

Download nodeunit

Download for all available architectures
Architecture Package Size Installed Size Files
all 28.3 kB144 kB [list of files]