<commit_before># tape-junit

[![Build Status](https://travis-ci.org/bvalosek/tape-junit.png?branch=master)](https://travis-ci.org/bvalosek/tape-junit)
[![NPM version](https://badge.fury.io/js/tape-junit.png)](http://badge.fury.io/js/tape-junit)

Output JUnit XML from tape-driven tests.

## Installation

```
$ npm install tape-junit
```

## Usage



## Tern Support

The source files are all decorated with [JSDoc3](http://usejsdoc.org/)-style
annotations that work great with the [Tern](http://ternjs.net/) code inference
system. Combined with the Node plugin (see this project's `.tern-project`
file), you can have intelligent autocomplete for methods in this library.

## Testing

Testing is done with [Tape](http://github.com/substack/tape) and can be run
with the command `npm test`.

Automated CI testing is done with [Travis
CI](https://travis-ci.org/bvalosek/tape-junit).

## License
Copyright 2014 <NAME>

**tape-junit** is released under the MIT license.
<commit_msg>example<commit_after># tape-junit

[![Build Status](https://travis-ci.org/bvalosek/tape-junit.png?branch=master)](https://travis-ci.org/bvalosek/tape-junit)
[![NPM version](https://badge.fury.io/js/tape-junit.png)](http://badge.fury.io/js/tape-junit)

Output JUnit XML from tape-driven tests.

## Installation

```
$ npm install tape-junit
```

## Usage

To use via [tape](https://github.com/substack/tape)'s streams:

```javascript
var tape        = require('tape');
var TapeToJUnit = require('tape-junit');

// Use tape's object stream mode, piped into the transform and then stdout
tape.createStream({ objectMode: true })
  .pipe(new TapeToJUnit())
  .pipe(process.stdout);

// Fire off the tests
require('./test/my-test.js');
```

## Tern Support

The source files are all decorated with [JSDoc3](http://usejsdoc.org/)-style
annotations that work great with the [Tern](http://ternjs.net/) code inference
system. Combined with the Node plugin (see this project's `.tern-project`
file), you can have intelligent autocomplete for methods in this library.

## Testing

Testing is done with [Tape](http://github.com/substack/tape) and can be run
with the command `npm test`.

Automated CI testing is done with [Travis
CI](https://travis-ci.org/bvalosek/tape-junit).

## License
Copyright 2014 <NAME>

**tape-junit** is released under the MIT license.

{'fraction_non_alphanumeric': 0.1490549828178694, 'fraction_numerical': 0.00429553264604811, 'mean_word_length': 4.467136150234742, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 9, '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': '2382382', 'n_tokens_mistral': 809, 'n_tokens_neox': 774, 'n_words': 217}