heavens_door

Capybara test scenario recorder for Rails

Github星跟蹤圖

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

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.

主要指標

概覽
名稱與所有者amatsuda/heavens_door
主編程語言JavaScript
編程語言Ruby (語言數: 4)
平台
許可證MIT License
所有者活动
創建於2019-02-01 07:57:46
推送於2023-08-12 19:32:57
最后一次提交2021-06-10 21:03:18
發布數10
最新版本名稱v0.3.0 (發布於 2019-12-16 11:43:24)
第一版名稱v0.1.0 (發布於 2019-02-01 17:08:27)
用户参与
星數867
關注者數28
派生數26
提交數73
已啟用問題?
問題數5
打開的問題數2
拉請求數13
打開的拉請求數3
關閉的拉請求數9
项目设置
已啟用Wiki?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?