hidroh / cucumber-api

API validator in BBD style with Cucumber
https://rubygems.org/gems/cucumber-api
Apache License 2.0
52 stars 56 forks source link

Add a custom step to clear cache on demand from feature file #19

Closed sandeepnagra closed 6 years ago

sandeepnagra commented 7 years ago

Here's what I use in my project:

Given(/^I clear the response cache$/) do $cache = {} end

sandeepnagra commented 7 years ago

I can create a pull request if you think you can add it to steps.rb file

hidroh commented 7 years ago

You're welcome to make PR!

biggianteye commented 6 years ago

Hi there. What's the likelihood that the above PR will get merged? Being able to either disable the response cache or clear it would be very useful to me.

hidroh commented 6 years ago

@kevgatch I need the build to be green for me to merge that PR.