<commit_before># Iterm2TabFormatter

[![Build Status](https://travis-ci.org/mark-rushakoff/iterm2_tab_formatter.png)](https://travis-ci.org/mark-rushakoff/iterm2_tab_formatter)
[![Code Climate](https://codeclimate.com/github/mark-rushakoff/iterm2_tab_formatter.png)](https://codeclimate.com/github/mark-rushakoff/iterm2_tab_formatter)

An RSpec2 formatter that uses your iTerm2 tabs' color and titles to inform you of your spec status.

iTerm2 Tab Formatter communicates your RSpec status through your iTerm2 tabs.
By default, here's what it does:
* Tab chrome color:
  * Gray while spec is running/pending
  * Red once a spec has failed
  * Green if all the specs pass
* Tab title:
  * Index of current spec and total number of specs
  * Percentage of specs that passed, after specs finish
* Window title:
  * Full spec name for the current spec
  * Summary, duration, and finish time after specs finish

(iterm2_tab_formatter is in no way affiliated with [iTerm2](https://github.com/gnachman/iTerm2) -- it was just made by a fan.)

## Installation

Add this line to your application's Gemfile:

    gem 'iterm2_tab_formatter'

And then execute:

    $ bundle

Or install it yourself as:

    $ gem install iterm2_tab_formatter

## Usage

TODO: Write usage instructions here

## Contributing

1. Fork it
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Add some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create new Pull Request<commit_msg>Add usage instructions to README<commit_after># Iterm2TabFormatter

[![Build Status](https://travis-ci.org/mark-rushakoff/iterm2_tab_formatter.png)](https://travis-ci.org/mark-rushakoff/iterm2_tab_formatter)
[![Code Climate](https://codeclimate.com/github/mark-rushakoff/iterm2_tab_formatter.png)](https://codeclimate.com/github/mark-rushakoff/iterm2_tab_formatter)

An RSpec2 formatter that uses your iTerm2 tabs' color and titles to inform you of your spec status.

iTerm2 Tab Formatter communicates your RSpec status through your iTerm2 tabs.
By default, here's what it does:
* Tab chrome color:
  * Gray while spec is running/pending
  * Red once a spec has failed
  * Green if all the specs pass
* Tab title:
  * Index of current spec and total number of specs
  * Percentage of specs that passed, after specs finish
* Window title:
  * Full spec name for the current spec
  * Summary, duration, and finish time after specs finish

(iterm2_tab_formatter is in no way affiliated with [iTerm2](https://github.com/gnachman/iTerm2) -- it was just made by a fan.)

## Installation

Add this line to your application's Gemfile:

    gem 'iterm2_tab_formatter'

And then execute:

    $ bundle

Or install it yourself as:

    $ gem install iterm2_tab_formatter

## Usage

Just add the following line to your spec_helper.rb file:

    require 'iterm2_tab_formatter/auto'

And then your iTerm2 tabs will participate in testing too!

## Contributing

1. Fork it
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Add some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create new Pull Request
{'fraction_non_alphanumeric': 0.08549953022236141, 'fraction_numerical': 0.01252740369558409, 'mean_word_length': 4.332220367278798, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 10, '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': '2028309', 'n_tokens_mistral': 1039, 'n_tokens_neox': 977, 'n_words': 373}