karma-nsnodeunit
A Karma plugin. Adapter for the Nodeunit testing framework for NativeScript.
npm i --save karma-nsnodeunit
- Version: 0.2.1
- GitHub: https://github.com/nathanaela/karma-nsnodeunit
- Downloads:
- Last Day: 0
- Last Week: 0
- Last Month: 0
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
tns test init
To initialize the testing system, Choose Mocha.npm install karma-nsnodeunit --save-dev
- Update the
karma.conf.js
file and set theframeworks: ['nsnodeunit']
- Write your nodeunit tests inside the app/tests folder.