Skip to content
Karma NodeUnit Testing Framework for NativeScript
JavaScript
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
lib
LICENSE
README.md
package.json

README.md

karma-nsnodeunit

Adapter for the Nodeunit testing framework for NativeScript.

This is based on both the Karma-NodeUnit located at https://github.com/karma-runner/karma-nodeunit And the actual nodeunit from https://github.com/caolan/nodeunit They have both been modified to work inside the NativeScript test runner environment.

Usage

  1. tns test init To initialize the testing system, Choose Mocha.
  2. npm install karma-nsnodeunit --save-dev
  3. Update the karma.conf.js file and set the frameworks: ['nsnodeunit']
  4. Write your nodeunit tests inside the app/tests folder.
You can’t perform that action at this time.