# brofist

> Minimal BDD test runner that plays along nicely with Browserify.

Latest version **0.3.1** (published 2013-06-13) · MIT license · 0 weekly downloads

> **Deprecated.** This package is deprecated.

## Install

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

## Health

**Score 10/100 (F)** — status: deprecated.

Negative: deprecated.

## Facts

| | |
|---|---|
| Version | 0.3.1 |
| Published | 2013-06-13 |
| First published | 2013-05-08 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 4 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Quildreen "Sorella" Motta |
| Maintainers | killdream |

## Links

- npm: https://www.npmjs.com/package/brofist
- Repository: https://github.com/brofistjs/brofist
- npm.io page: https://npm.io/package/brofist

## Dependencies (4)

- [boo](https://npm.io/package/boo.md) ~2.0.0
- [pinky](https://npm.io/package/pinky.md) ~0.1.2
- [shoutout](https://npm.io/package/shoutout.md) ~1.0.0
- [pinky-combinators](https://npm.io/package/pinky-combinators.md) ~0.1.1

## Recent versions

- 0.3.1 (latest) — 2013-06-13
- 0.3.0 — 2013-06-13
- 0.2.4 — 2013-06-11
- 0.2.3 — 2013-05-19
- 0.2.2 — 2013-05-08
- 0.2.1 — 2013-05-08

## README

# Brofist [![Build Status](https://travis-ci.org/brofistjs/brofist.png)](https://travis-ci.org/brofistjs/brofist)  ![Dependencies Status](https://david-dm.org/brofistjs/brofist.png)

Minimal BDD test runner that plays along nicely with Browserify.


## Example

```js
var spec   = require('brofist')()
var assert = require('assert')

spec('λ compose', function(it) {
  it('compose(f, g)(x) should be the same as f(g(x))', function() {
    assert.strictEqual(f(g(x)), compose(f, g)(x))
  })
})

spec.run(require('brofist-minimal')())
```

Then:

```bash
$ node run test.js
Success. 1/1 tests.
```


## Installing

Just grab it from NPM:

    $ npm install brofist


## Documentation

A quick reference of the API can be built using [Calliope][]:

    $ npm install -g calliope
    $ calliope build

A lengthy, narrated documentation is available [On the wiki][]

[Calliope]: https://github.com/killdream/calliope
[On the wiki]: https://github.com/brofistjs/brofist/wiki


## Tests

On Node:

    $ npm test
    
On the browser:

    $ npm install -g brofist-browser
    $ brofist-browser serve test/specs/index.js
    # Then open the link on any browser


## Platform support

This library assumes an ES5 environment, but can be easily supported in ES3
platforms by the use of shims. Just include [es5-shim][] :3

[![browser support](https://ci.testling.com/brofistjs/brofist.png)](http://ci.testling.com/brofistjs/brofist)

[es5-shim]: https://github.com/kriskowal/es5-shim

## Licence

MIT/X11. ie.: do whatever you want.

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