<commit_before># Approvals

Approval Tests Library - Capturing Human Intelligence

Learn more more about Approvals at [approvaltests.com](http://approvaltests.com)

## Build Status
[![Build Status](https://travis-ci.org/approvals/Approvals.NodeJS.png?branch=master)](https://travis-ci.org/approvals/Approvals.NodeJS)

## Getting Approvals
    npm install approvals

## Documentation

[Approvals Github Wiki!](https://github.com/approvals/Approvals.NodeJS/wiki)

## Examples

#### Config (override)
```javascript
require('approvals')
    .configure({
        reporters:  ["p4merge", "opendiff", "tortisemerge", "gitdiff"],
        appendEOL: false, // default is (still up for discussion, but currently true on windows false everywhere else
        EOL:  require('os').EOL
    })
/* ... */
```

#### Mocha
```javascript
require('approvals').mocha(__dirname);
describe('And a Mocha sub-describe', function () {
	it('should be able to use Approvals', function () {
		var data = "Hello World!";
		this.verify(data);
	});
});
```

#### Others?

- TODO:
    - Manual calls for verify/naming/etc.
    - Jasime
    - Vows

Can you think any other testing frameworks should integrate with? Consider submitting a pull request, or report a Github issue for discussion.

## Release History
_(Nothing yet)_

## License
Copyright (c) 2012 <NAME>, <NAME>  
Licensed under the Apache license.<commit_msg>Added contributing section<commit_after># Approvals

Approval Tests Library - Capturing Human Intelligence

Learn more more about Approvals at [approvaltests.com](http://approvaltests.com)

## Build Status
[![Build Status](https://travis-ci.org/approvals/Approvals.NodeJS.png?branch=master)](https://travis-ci.org/approvals/Approvals.NodeJS)

## Getting Approvals
    npm install approvals

## Documentation

[Approvals Github Wiki!](https://github.com/approvals/Approvals.NodeJS/wiki)

## Examples

#### Config (override)
```javascript
require('approvals')
    .configure({
        reporters:  ["p4merge", "opendiff", "tortisemerge", "gitdiff"],
        appendEOL: false, // default is (still up for discussion, but currently true on windows false everywhere else
        EOL:  require('os').EOL
    })
/* ... */
```

#### Mocha
```javascript
require('approvals').mocha(__dirname);
describe('And a Mocha sub-describe', function () {
	it('should be able to use Approvals', function () {
		var data = "Hello World!";
		this.verify(data);
	});
});
```

#### Others?

- TODO:
    - Manual calls for verify/naming/etc.
    - Jasime
    - Vows

Can you think any other testing frameworks should integrate with? Consider submitting a pull request, or report a Github issue for discussion.

## Contributing

Check out the [guidlines](CONTRIBUTING.md)!

## Release History
_(Nothing yet)_

## License
Copyright (c) 2012 <NAME>, <NAME>  
Licensed under the Apache license.
{'fraction_non_alphanumeric': 0.14030164854437038, 'fraction_numerical': 0.00350754121360926, 'mean_word_length': 4.1854545454545455, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 6, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4835636', 'n_tokens_mistral': 912, 'n_tokens_neox': 848, 'n_words': 250}