<commit_before># Generative

> Generative and property-based testing for RSpec
> [![Gem Version](https://badge.fury.io/rb/generative.svg)](http://badge.fury.io/rb/generative)
> [![Build Status](https://travis-ci.org/justincampbell/generative.svg?branch=master)](https://travis-ci.org/justincampbell/generative)
> [![Code Climate](https://codeclimate.com/github/justincampbell/generative.svg)](https://codeclimate.com/github/justincampbell/generative)

## Installation

### Add Generative to your Gemfile (or gemspec):

```rb
group :test do
  gem 'generative'
  gem 'rspec'
end
```

...and then run `bundle`.

### Require Generative in your `.rspec` file:

```
--color
--format Generative::Formatter
--require generative
```

### (Optional) Require the Generative Rake task in your `Rakefile`:
<commit_msg>README: Use GitHub Actions badge<commit_after># Generative

> Generative and property-based testing for RSpec
> [![Gem Version](https://badge.fury.io/rb/generative.svg)](http://badge.fury.io/rb/generative)
> [![CI](https://github.com/justincampbell/generative/actions/workflows/ci.yml/badge.svg)](https://github.com/justincampbell/generative/actions/workflows/ci.yml)
> [![Code Climate](https://codeclimate.com/github/justincampbell/generative.svg)](https://codeclimate.com/github/justincampbell/generative)

## Installation

### Add Generative to your Gemfile (or gemspec):

```rb
group :test do
  gem 'generative'
  gem 'rspec'
end
```

...and then run `bundle`.

### Require Generative in your `.rspec` file:

```
--color
--format Generative::Formatter
--require generative
```

### (Optional) Require the Generative Rake task in your `Rakefile`:

{'fraction_non_alphanumeric': 0.1691842900302115, 'fraction_numerical': 0.0, 'mean_word_length': 5.156133828996283, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 11, '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': '1284839', 'n_tokens_mistral': 582, 'n_tokens_neox': 542, 'n_words': 113}