# test-executor

> Executes test scripts in the specified dirs.

Latest version **1.2.4** (published 2019-05-10) · MIT license · 0 weekly downloads

## Install

```sh
npm install test-executor
pnpm add test-executor
yarn add test-executor
bun add test-executor
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.2.4 |
| Published | 2019-05-10 |
| First published | 2018-05-05 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 587 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | guseyn |
| Maintainers | guseyn |
| Keywords | node, test, executor, cutie, fs |

## Links

- npm: https://www.npmjs.com/package/test-executor
- Repository: https://github.com/Guseyn/node-test-executor
- Homepage: https://github.com/Guseyn/node-test-executor#readme
- Issues: https://github.com/Guseyn/node-test-executor/issues
- npm.io page: https://npm.io/package/test-executor

## Dependencies (1)

- [@cuties/cutie](https://npm.io/package/@cuties/cutie.md) ^1.7.5

## Alternatives

- [duck](https://npm.io/package/duck.md) — 4.2M weekly downloads
- [ava](https://npm.io/package/ava.md) — 560.2K weekly downloads
- [storybook-addon-module-mock](https://npm.io/package/storybook-addon-module-mock.md) — 71.7K weekly downloads
- [@ethereum-waffle/mock-contract](https://npm.io/package/@ethereum-waffle/mock-contract.md) — 40.0K weekly downloads
- [aws-elasticsearch-connector](https://npm.io/package/aws-elasticsearch-connector.md) — 37.4K weekly downloads

## Recent versions

- 1.2.4 (latest) — 2019-05-10
- 1.2.3 — 2019-05-10
- 1.2.2 — 2019-05-10
- 1.2.1 — 2019-03-04
- 1.2.0 — 2019-02-21
- 1.1.35 — 2019-02-19
- 1.1.34 — 2019-02-17
- 1.1.33 — 2019-02-17
- 1.1.32 — 2019-02-15
- 1.1.31 — 2019-02-15
- 1.1.30 — 2019-02-14
- 1.1.29 — 2019-02-14
- 1.1.28 — 2019-02-14
- 1.1.26 — 2019-02-14
- 1.1.23 — 2019-02-14
- … 20 more at https://npm.io/package/test-executor/versions

## README

# node-test-executor

<img src="https://github.com/Guseyn/logos/raw/master/test-executor.svg?sanitize=true">

[![NPM Version](https://img.shields.io/npm/v/test-executor.svg)](https://npmjs.org/package/test-executor)
[![Build Status](https://travis-ci.org/Guseyn/node-test-executor.svg?branch=master)](https://travis-ci.org/Guseyn/node-test-executor)
[![codecov](https://codecov.io/gh/Guseyn/node-test-executor/branch/master/graph/badge.svg)](https://codecov.io/gh/Guseyn/node-test-executor)

Executes test scripts and directories of test scripts. It's based on [Async Tree Pattern](https://github.com/Guseyn/async-tree-patern/blob/master/Async_Tree_Patern.pdf).

## Install
`npm i test-executor`

## How to use

```js
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](https://github.com/Guseyn/node-test-executor/blob/master/screen.png)

## Test
`npm run test`

## Build
`npm run build`

## Run example
`npm run example`

---
_Source: https://npm.io/package/test-executor · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
