myronmarston/vcr — pull request #142 by rauchy (2012-03-03 08:43:07+00:00)
Title: Automatic naming of cassettes according to Cucumber scenario name

I've added an option to VCR.cucumber_tags that names cassettes according to the scenario that was tagged. For example:

````ruby
# features/support/vcr.rb

VCR.cucumber_tags do |t|
t.tag '@vcr', use_scenario_name: true
end
````

````gherkin
# features/some.feature

@vcr
Scenario: Access some service
Given ...
When ...
Then ...
````

The cassette's file name will be access_some_service.yml.

In case you find this useful, how should I document this? I didn't find the README appropriate for such a specific detail. Relish?