Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ralphtheninja/test-for

Run `npm test` until it breaks
https://github.com/ralphtheninja/test-for

forever npm test

Last synced: 24 days ago
JSON representation

Run `npm test` until it breaks

Awesome Lists containing this project

README

        

# test-for

> Run `npm test` until it breaks.

[![npm](https://img.shields.io/npm/v/test-for.svg)](https://www.npmjs.com/package/test-for)
![Node version](https://img.shields.io/node/v/test-for.svg)
[![Build Status](https://travis-ci.org/ralphtheninja/test-for.svg?branch=master)](https://travis-ci.org/ralphtheninja/test-for)
[![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com)

Sometimes when testing you run into race conditions so you need a test runner to keep tests running until they break. Or you want to do stress testing for other reasons.

## Install

```
$ npm i test-for -g
```

## Usage

Run `npm test` forever or until it breaks:

```
$ test-for
```

Run `npm test` until it breaks or reaches `10000` runs:

```
$ test-for -n 10000
```

## License

[GPL-3.0](LICENSE) © 2018-present Lars-Magnus Skog.