GithubHelp home page GithubHelp logo

classicvalues / heavens_door Goto Github PK

View Code? Open in Web Editor NEW

This project forked from amatsuda/heavens_door

1.0 1.0 0.0 222 KB

Capybara test scenario recorder for Rails

License: MIT License

Ruby 46.39% JavaScript 48.58% CSS 3.50% Shell 1.53%

heavens_door's Introduction

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.

heavens_door's People

Contributors

amatsuda avatar moiseshilario avatar acjustplay avatar luizpicolo avatar tomog105 avatar viniciusalmeidasilva avatar ravelll avatar hkdnet avatar indigolain avatar kichion avatar rono23 avatar ssig33 avatar

Stargazers

Classic Values avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.