[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#711353: RFP: node-unit -- Easy unit testing in node.js and the browser, based on the assert module



Package: wnpp
Severity: wishlist

The module would be helpful for properly packaging geierlein (see #695204) as it uses
nodeunit for unit testing on build.

For now, I have disabled testing by patching the build system, which is probably ok
as tests should have been run by upstream when releasing the orig tarball, but as dh
runs make test we should enable it to do so.


* Package name    : node-unit
  Version         : 0.7.4
  Upstream Author : Caolan McMahon
* URL             : https://github.com/caolan/nodeunit
* License         : BSD
  Programming Lang: JavaScript
  Description     : Easy unit testing in node.js and the browser, based on the assert module

Simple syntax, powerful tools. Nodeunit provides easy async unit testing for node.js and the browser.

 - Simple to use
 - Just export the tests from a module
 - Works with node.js and in the browser.
 - Helps you avoid common pitfalls when testing asynchronous code
 - Easy to add test cases with setUp and tearDown functions if you wish
 - Flexible reporters for custom output, built-in support for HTML and jUnit XML
 - Allows the use of mocks and stubs


Reply to: