# asimov-test

> Testing toolkit for asimov.js

Latest version **0.4.0** (published 2015-02-25) · MIT license · 0 weekly downloads

## Install

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

## 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.4.0 |
| Published | 2015-02-25 |
| First published | 2014-05-02 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 9 |
| Known vulnerabilities | 0 (+6 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Adam Renklint |
| Maintainers | adamrenklint |

## Links

- npm: https://www.npmjs.com/package/asimov-test
- Repository: git@github.com:adamrenklint/asimov-test
- Homepage: https://github.com/adamrenklint/asimov-test
- Issues: https://github.com/adamrenklint/asimov-test/issues
- npm.io page: https://npm.io/package/asimov-test

## Dependencies (9)

- [chai](https://npm.io/package/chai.md) ^2.1.0
- [mocha](https://npm.io/package/mocha.md) ~2.1.0
- [sinon](https://npm.io/package/sinon.md) ^1.12.2
- [colors](https://npm.io/package/colors.md) ^1.0.3
- [lodash](https://npm.io/package/lodash.md) ^3.3.1
- [zombie](https://npm.io/package/zombie.md) ^2.5.1
- [sinon-chai](https://npm.io/package/sinon-chai.md) ^2.7.0
- [asimov-core](https://npm.io/package/asimov-core.md) ^0.4.0
- [wunderbits.core](https://npm.io/package/wunderbits.core.md) ^0.1.14

## Recent versions

- 0.4.0 (latest) — 2015-02-25
- 0.5.0-beta1 (beta) — 2017-07-13
- 0.3.0 — 2014-11-28
- 0.2.5 — 2014-06-13
- 0.2.4 — 2014-05-11
- 0.2.3 — 2014-05-04
- 0.2.2 — 2014-05-03
- 0.2.1 — 2014-05-03
- 0.2.0 — 2014-05-03
- 0.1.1 — 2014-05-02
- 0.1.0 — 2014-05-02

## README

asimov-test
================

[![NPM version](https://badge.fury.io/js/asimov-test.png)](http://badge.fury.io/js/asimov-test) [![Code Climate](https://codeclimate.com/github/adamrenklint/asimov-test.png)](https://codeclimate.com/github/adamrenklint/asimov-test) [![Dependency Status](https://david-dm.org/adamrenklint/asimov-test.png?theme=shields.io)](https://david-dm.org/adamrenklint/asimov-test)

**Unit and integration testing toolkit for [asimov.js](http://asimovjs.org)**

## How to use

### Install from NPM

    $ npm install --saveDev asimov-test

### Create a test file

```javascript
var test = require('asimov-test');

test('myAwesomeTest', function (test) {

  test.spec(function () {

    test.it('should be true', function () {
      expect(true).to.be.true;
    });
  });
});
```

### Add test command to your package.json

```javascript
...
"scripts": {
  "test": "node node_modules/asimov-test/bin/test"
}
...
```

### Run the tests

```javascript
$ npm test
```

Or just use the executable directly...

```javascript
$ node node_modules/asimov-test/bin/test
```

### Reporters

By default, the mocha **dot** reporter is used, but you can pass a flag to use any of the reporters that ships with mocha, or that you have installed with npm.

```javascript
$ node node_modules/asimov-test/bin/test --spec
```

---

Made by [Adam Renklint](http://adamrenklint.com), Berlin 2014. [MIT licensed](https://github.com/adamrenklint/asimov-test/blob/master/LICENSE).

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