amatsuda/heavens_door
关于
适用于 Rails 的 Capybara 测试场景录制工具。
网站与应用开发实测星标增长
- 24小时
- 0
- 7天
- -1
- 15天
- -1
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文Heaven's Door
A tiny Rails engine that generates capybara test scenario by recording browser operation in development env.
Installation
Add this line to your Rails application's Gemfile (in most cases, for development group only):
gem 'heavens_door', group: :development
Usage

Start Recording
Visit your development app with your browser, then click the ⏺ button on the top right.
Generate Scenarios
Just manipulate the browser, like fill-in the forms and submit, or click the links. Your operations will be recorded on the browser.
Copy to Clipboard
You can export the operations as a Capybara test scenario script by clicking the 📋 button.
Stop Recording
To stop recording and clear the whole recorded scenario, click the ⏹ button.
Requirements
- Rails
- Modern browsers
Contributing
Pull requests are welcome on GitHub at https://github.com/amatsuda/heavens_door.
TODO
Insert assertions from the browser
Some kinds of input (like time_field, datetime_field) might not be working properly
Hotkeys to hide/show the panel
Better UI
Cleaner JS code
Tests (do we really need tests for this? Well, maybe...)
etcetcetc.
License
The gem is available as open source under the terms of the MIT License.
探索相关项目
加载中…