Rspec::Varys
Generate RSpec specs from intelligence gathered from doubles and spies.
This is an experiment to see if a top-down TDD work-flow can be improved by partially automating the creation of lower level specs.
Installation
Add this line to your application's Gemfile:
gem 'rspec-varys'
And then execute:
$ bundle
Or install it yourself as:
$ gem install rspec-varys
Usage
See the Cucumber features for examples of intended usage.
Contributing
- Fork it ( https://github.com/ritchiey/rspec-varys/fork )
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request