Sha256: 80e4a8a69a038bdda90c540c4a81a0d533e634bc5c5fea818be05ad2a9056b09

Contents?: true

Size: 1.11 KB

Versions: 1

Compression:

Stored size: 1.11 KB

Contents

# Abtest

A-B testing framework and manager for Rails.  This gem allows the addition of experiments that change view code and assets
based on the results of a simple test proc.

This gem modifies ActionView::Base as well as the global assets environment to enable overrides in the experiments directory to
take effect.

## Installation

Add this line to your application's Gemfile:

    gem 'abtest'

And then execute:

    $ bundle

Or install it yourself as:

    $ gem install abtest

## Usage

Once the gem is installed in your Rails application, you can run the following command to set up an experiment:

    $ bundle exec rake abtest:add_experiment[experiment_name]

To delete an experiment, run the following command:

    $ bundle exec rake abtest:delete_experiment[experiment_name]

To remove all experiments, run the following command:

    $ bundle exec rake abtest:delete_experiments

## 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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
abtest-2.0.0 README.md