<commit_before># Infinity Test

Infinity Test is a continuous testing library and a flexible alternative to Autotest, 
using Watchr library with Rspec OR Test::Unit AND Cucumber with RVM funcionality,
giving the possibility to test with all <b>Rubies</b> that you have in your RVM configuration.

## To Infinity and Beyond!

<div style="width:240px; padding:2px; border:1px solid silver; float:right; margin:0 0 1em 2em; background:white">
  <img src="http://github.com/tomas-stefano/infinity_test/raw/master/to_infinity_and_beyond.png" alt="Infinity Test" />
  <p style="text-align:center"> Photo taken by <a href="http://www.mixed-metaphor.org/fan/buzz/" title="buzz-light-year"> this site </a></p>
</div>

## Install

* The Infinity Test gem don't have a version, but <b>is looking for contributors</b>. =]

This gem will be released in September 17.

## Running Tests with many Rubies

With Rspec:

   $ infinity_test --rspec --rvm-versions=1.8.7,jruby,1.9.2,ree

Or with Test::Unit:

   $ infinity_test --test-unit --rvm-versions=1.8.7,jruby,ree,1.9.2

If you like to add cucumber too:

   $ infinity_test --rspec --rvm-versions=1.8.7,jruby,1.9.2  --cucumber

   $ infinity_test --test-unit --rvm-versions=1.8.7,jruby,1.9.2  --cucumber

<b>And you are ready to Test with all ruby versions your Rspec or Test::Unit Suite and Cucumber Suite with Autotest-like Behavior.</b>

## Domain Specific Language For Configuration file

### Notification Frameworks

* Growl <b>Just FOR NOW</b>

### Configuration file

Create the global file or project file called:

   ~/.infinity_test or .infinity_test

<b>Note:</b> The project file will override the configuration of global file if have the same options!.

    # ~/.infinity_test or .infinity_test

    infinity_test do

      notifications :growl do
        on :sucess,  :show_image => :default  # or :show_image => 'Path/To/My/Image.png'
        on :failure, :show_image => :default  # or :show_image => 'Path/To/My/Image.png'
      end
      
      run_with :rvm => %w(1.9.1 jruby 1.9.2 ree), :test_framework => :rspec, :cucumber => true
      
      before_run do
        # run some code
      end
      
      after_run do
        # run some code ...
      end

    end

* More and more and more ... Soon ...<commit_msg>Fix markdown<commit_after># Infinity Test


Infinity Test is a continuous testing library and a flexible alternative to Autotest, 
using Watchr library with Rspec OR Test::Unit AND Cucumber with RVM funcionality,
giving the possibility to test with all <b>Rubies</b> that you have in your RVM configuration.

## To Infinity and Beyond!

<div style="width:240px; padding:2px; border:1px solid silver; float:right; margin:0 0 1em 2em; background:white">
  <img src="http://github.com/tomas-stefano/infinity_test/raw/master/to_infinity_and_beyond.png" alt="Infinity Test" />
  <p style="text-align:center"> Photo taken by <a href="http://www.mixed-metaphor.org/fan/buzz/" title="buzz-light-year"> this site </a></p>
</div>

## Install

*   The Infinity Test gem don't have a version, but <b>is looking for contributors</b>. =]

This gem will be released in September 17.

## Running Tests with many Rubies

*  With Rspec:

   `$ infinity_test --rspec --rvm-versions=1.8.7,jruby,1.9.2,ree`

*  Or with Test::Unit:

   `$ infinity_test --test-unit --rvm-versions=1.8.7,jruby,ree,1.9.2`

*  If you like to add cucumber too:

   `$ infinity_test --rspec --rvm-versions=1.8.7,jruby,1.9.2  --cucumber`

   `$ infinity_test --test-unit --rvm-versions=1.8.7,jruby,1.9.2  --cucumber`

<b>And you are ready to Test with all ruby versions your Rspec or Test::Unit Suite and Cucumber Suite with Autotest-like Behavior.</b>

## Domain Specific Language For Configuration file

### Notification Frameworks

*   Growl <b>Just FOR NOW</b>

### Configuration file

Create the global file or project file called:

   `~/.infinity_test or .infinity_test`

<b>Note:</b> The project file will override the configuration of global file if have the same options!.

      # ~/.infinity_test or .infinity_test
      
      infinity_test do
      
        notifications :growl do
          on :sucess,  :show_image => :default  # or :show_image => 'Path/To/My/Image.png'
          on :failure, :show_image => :default  # or :show_image => 'Path/To/My/Image.png'
        end
        
        run_with :rvm => %w(1.9.1 jruby 1.9.2 ree), :test_framework => :rspec, :cucumber => true
        
        before_run do
          # run some code
        end
        
        after_run do
          # run some code ...
        end
      
      end

*   More and more and more ... Soon ...
{'fraction_non_alphanumeric': 0.12140229387578447, 'fraction_numerical': 0.017745076823198442, 'mean_word_length': 3.065083553210202, 'pattern_counts': {'":': 0, '<': 37, '<?xml version=': 0, '>': 51, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, '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': '2919211', 'n_tokens_mistral': 1606, 'n_tokens_neox': 1518, 'n_words': 485}