Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

karma-nodeunit

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

karma-nodeunit

A Karma plugin. Adapter for the Nodeunit testing framework.

  • 0.2.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
170
decreased by-70.12%
Maintainers
1
Weekly downloads
 
Created
Source

karma-nodeunit

Adapter for the Nodeunit testing framework. For more information on Karma see the homepage.

Currently supports Karma 0.10.x

Build Status Dependency Status

Usage

  1. npm install karma-nodeunit or add it to your package.json.
  2. Include nodeunit and the karma adapter in your karma.conf.js:
frameworks = ['nodeunit'];

files = [
  'lib/*.js' // files to test
  'test/*.js' // test files
];
browsers = ['Chrome'];
  1. Write your nodeunit tests:
nodeunit.run({
  testSomething: function(test) {
    test.expect(1);
    test.ok(true, "this assertion should pass");
    test.done();
  },
  'test something else': function(test) {
    test.ok(false, "this assertion should fail");
    test.done();
  }
});

Release history

  • 2013-11-18 v0.1.1 Fix #8, #9, and #10. Bump nodeunit to v0.8.2.
  • 2013-10-11 v0.1.0 Migration to karma 0.10.x. Travis CI.
  • 2013-03-21 v0.0.3 Linked to official karma plugins
  • 2013-03-21 v0.0.2 Usage examples, renamed from https://github.com/testacular/testacular-jasmine

Keywords

FAQs

Package last updated on 29 Aug 2014

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc