CassetteExplorer
CasetteExplorer is a command line utility that allow you to mount a webserver to load the VCR cassettes in the browser.
Installation
$ gem install cassette_explorer
Usage
$ cassette_explorer -h
Usage: cassette_explorer /path/to/vcr/cassettes/directory [options]
-r, --no-replace-urls Replace relative URLs with absolute URLs. Default: true
-f, --load-in-iframe Default the views to load in an iframe (it can be toggled from the page). Default: false
-w, --watch Watches the cassettes for changes. Default: true
-p, --port PORT Port to mount the server
-h, --help Prints this help
TODO
- Write better tests
- Make the view a folder tree
Contributing
- Fork it ( https://github.com/Zequez/cassette_explorer/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