# thout

> test runner

Latest version **0.2.1** (published 2016-08-27) · MIT license · 0 weekly downloads

## Install

```sh
npm install thout
pnpm add thout
yarn add thout
bun add thout
```

Provides the command `thout`.

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.2.1 |
| Published | 2016-08-27 |
| First published | 2016-08-17 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 5 |
| Known vulnerabilities | 0 (+2 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 1 |
| Author | mkwtys |
| Maintainers | mkwtys |
| Keywords | runner, test, thout |

## Links

- npm: https://www.npmjs.com/package/thout
- Repository: https://github.com/mkwtys/thout
- Homepage: https://github.com/mkwtys/thout#readme
- Issues: https://github.com/mkwtys/thout/issues
- npm.io page: https://npm.io/package/thout

## Dependencies (5)

- [chalk](https://npm.io/package/chalk.md) 1.1.3
- [caller](https://npm.io/package/caller.md) 1.0.1
- [glob-all](https://npm.io/package/glob-all.md) 3.1.0
- [minimist](https://npm.io/package/minimist.md) 1.2.0
- [is-promise](https://npm.io/package/is-promise.md) 2.1.0

## 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

- 0.2.1 (latest) — 2016-08-27
- 0.2.0 — 2016-08-27
- 0.1.2 — 2016-08-23
- 0.1.1 — 2016-08-23
- 0.1.0 — 2016-08-23
- 0.0.1 — 2016-08-17

## README

[![Build Status](https://travis-ci.org/mkwtys/thout.svg?branch=master)](https://travis-ci.org/mkwtys/thout)
[![codecov](https://codecov.io/gh/mkwtys/thout/branch/master/graph/badge.svg)](https://codecov.io/gh/mkwtys/thout)

# thout

## Installation

```sh
$ npm install thout
```

## Usage

```sh
$ thout test/**/*.js
```

```js
const assert = require('assert');
const test = require('thout');

test('pass', () => {
  assert(true);
});

test('fail', () => {
  assert.fail(false);
});

test('promise resolve', () => {
  return Promise.resolve(true);
});

test('promise reject', () => {
  return Promise.reject(new Error('promise reject'));
});

test('async', (done) => {
  setTimeout(() => {
    done();
  }, 10);
});

test('async timeout', (done) => {});

test('pending');

test.skip('skip', () => {
  assert.fail(false);
});
```

## License

MIT © [mkwtys](https://github.com/mkwtys)

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