A tiny Rails engine that generates capybara test scenario by recording browser operation in development env.
Add this line to your Rails application's Gemfile (in most cases, for development group only):
gem 'heavens_door', group: :development
Visit your development with your browser, then click the โบ button on the top right.
Just manipulate the browser, like fill-in the forms and submit, or click the links. Your operations will be recorded on the browser.
You can export the operation as a Capybara test scenario script by clicking the ๐ button.
To stop recording and clear the whole recorded scenario, click the โน button.
- Rails
- Modern browsers
Pull requests are welcome on GitHub at https://github.com/amatsuda/heavens_door.
-
Insert assertions from the browser
-
Some kinds of input (like time_field, datetime_field) might not be working properly
-
Button click effect
-
Hotkeys to hide/show the panel
-
Better UI
-
Cleaner JS code
-
Tests (do we really need tests for this? Well, maybe...)
-
etcetcetc.
The gem is available as open source under the terms of the MIT License.