Comparing version
{ | ||
"name": "paratest", | ||
"version": "0.0.3", | ||
"version": "0.0.4", | ||
"description": "parameterize your js tests", | ||
@@ -8,3 +8,4 @@ "main": "index.js", | ||
"jasmine": "jasmine", | ||
"test": "jasmine" | ||
"jest": "jest", | ||
"test": "jasmine && jest" | ||
}, | ||
@@ -17,2 +18,4 @@ "repository": { | ||
"js", | ||
"jasmine", | ||
"jest", | ||
"test", | ||
@@ -30,4 +33,5 @@ "testing", | ||
"devDependencies": { | ||
"jasmine": "^2.8.0" | ||
"jasmine": "^2.8.0", | ||
"jest": "^21.2.1" | ||
} | ||
} |
# paratest | ||
parameterize your javascript tests | ||
@@ -7,2 +8,3 @@ | ||
## usage | ||
require `paratest` in your spec file and give it an array of tests to run | ||
@@ -12,3 +14,3 @@ | ||
const paratest = require('paratest'); | ||
const compute = require('../src/compute); | ||
const compute = require('../src/compute'); | ||
@@ -47,1 +49,5 @@ const tests = [ | ||
``` | ||
## compatibility | ||
tested with jasmine and jest |
3537
3.79%51
13.33%2
100%