minijasminenodewrap
Advanced tools
Comparing version
@@ -7,3 +7,3 @@ 'use strict'; | ||
var argv = require('yargs').argv; | ||
var configFile = path.normalize(process.cwd() + '/config.js'); | ||
var configFile = path.normalize(process.cwd() + '/jasmine-config.js'); | ||
@@ -10,0 +10,0 @@ var options; |
{ | ||
"name": "minijasminenodewrap", | ||
"version": "0.0.2", | ||
"version": "0.0.3", | ||
"description": "Wraps minijasminenode to allow globbing from options and the CLI", | ||
"main": "index.js", | ||
"bin": "bin/mjnw", | ||
"bin": { | ||
"mjnw": "bin/mjnw", | ||
"cover": "bin/cover" | ||
}, | ||
"repository": { | ||
@@ -19,2 +22,3 @@ "type": "git", | ||
"dependencies": { | ||
"istanbul": "0.2.12", | ||
"minijasminenode2": "1.0.0", | ||
@@ -21,0 +25,0 @@ "multi-glob": "0.4.0", |
@@ -5,3 +5,4 @@ minijasminenodewrap | ||
A simple wrapper around [minijasminenode2](https://github.com/juliemr/minijasminenode). | ||
Mostly used to allow globs from the CLI or within the config. | ||
- used to allow globs from the CLI or within the config | ||
- includes a utility to easily generate code coverage using istanbul | ||
@@ -16,4 +17,4 @@ Install | ||
Minijasminenodewrap looks for a `config.js` file within the current working directory. | ||
The `config.js` file should return an `object` of `options` matching the ones provided to | ||
Minijasminenodewrap looks for a `jasmine-config.js` file within the current working directory. | ||
The `jasmine-config.js` file should return an `object` of `options` matching the ones provided to | ||
`miniJasmineLib.executeSpecs()`. | ||
@@ -47,3 +48,16 @@ | ||
```bash | ||
$ ./node_modules/.bin/mjnw 'spec/**/*.js' 'more/specs/**/*.js' | ||
$ ./node_modules/.bin/minijasminenodewrap 'spec/**/*.js' 'more/specs/**/*.js' | ||
``` | ||
Code Coverage | ||
============= | ||
In addition to wrapping jasmine, this module wraps istanbul and allows you to easily generate code coverage for | ||
your project. | ||
```bash | ||
$ ./node_modules/.bin/cover | ||
``` | ||
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
22990
15.31%16
14.29%61
29.79%4
33.33%+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed