Skip to content
Executes test scripts in the specified dirs.
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.
assert
example/test
fs
json
src
test
wall
.eslintrc.json
.gitignore
.travis.yml
LICENSE
README.md
build.js
example.js
index.js
package-lock.json
package.json
screen.png
test.js

README.md

node-test-executor

NPM Version Build Status codecov

Executes test scripts and directories of test scripts. It's based on Async Tree Pattern.

Install

npm i test-executor

How to use

const { ExecutedTests } = require('test-executor')

new ExecutedTests(
	'./test/test.js', './test/dir1', './test/dir2'
).call() // or just new ExecutedTests('./test').call()

Output will be smth like this (example of case when one of the tests fails):

gaa1

Test

npm run test

Build

npm run build

Run example

npm run example

You can’t perform that action at this time.