<commit_before>h1. merb_cucumber

Merb + Cucumber integration with Webrat support.

h2. Requirements

* merb-core >= 0.9.9
* cucumber >= 0.1.8
* webrat   >= 0.2.1 (Optional)

h2. First Time

Inside your merb project root, run
  
  $ merb-gen cucumber
  
For Webrat support, run 

  $ merb-gen cucumber --session-type webrat

This will also install a sample login feature that should pass if you're using merb-auth.

h2. Usage

To execute all the features run

  $ rake features

h2. Notes

* When you are implementing the steps of an scenario, please use the new request test helper, if you try to use the
  dispatch_to method, it won't work as expected.
* Webrat considers all status codes above 299 to be errors. We are trying to change that upstream, but if you're reading this notice, the situation hasn't changed yet. While this is case, the sample feature won't pass unless you have patched webrat.
<commit_msg>Improve README language.<commit_after>h1. merb_cucumber

Merb + Cucumber integration with Webrat support.

h2. Requirements

* merb-core >= 0.9.9
* cucumber >= 0.1.8
* webrat   >= 0.2.1 (Optional)

h2. First Time

Inside your merb project root, run
  
  $ merb-gen cucumber
  
For Webrat support, run 

  $ merb-gen cucumber --session-type webrat

This will also install a sample login feature that should pass if you're using merb-auth.

h2. Usage

To execute all the features run

  $ rake features

h2. Notes

* When you are implementing the steps of an scenario, please use the new request test helper, if you try to use the
  dispatch_to method, it won't work as expected.
* Webrat considers all status codes above 299 to be errors. We are trying to change that upstream, but if you're reading this notice the situation hasn't changed yet. While this is case, the sample feature won't pass unless you have patched your version of webrat.

{'fraction_non_alphanumeric': 0.06129032258064516, 'fraction_numerical': 0.01827956989247312, 'mean_word_length': 3.595061728395062, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 9, 'https://': 0, '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': '7340242', 'n_tokens_mistral': 608, 'n_tokens_neox': 564, 'n_words': 273}