Coder Social home page Coder Social logo

polarblau / capycorder Goto Github PK

View Code? Open in Web Editor NEW
83.0 83.0 15.0 2.27 MB

Chrome extension, generating Capybara request spec steps based on user interaction.

Home Page: https://chrome.google.com/webstore/detail/niijdolnjmjdjakbanogihdlhcbhfkho

Ruby 1.09% CoffeeScript 25.53% JavaScript 73.39%

capycorder's Introduction

  • 👋 Hi, I’m @polarblau
  • 👀 I’m interested in pretty much anything.
  • 🌱 I’m currently learning about embedded systems, a bit of C++, ML on edge devices, Computer Vision, and TypeScript (because the cool kids use it).
  • 📫 How to reach me? Send me an email at [email protected]

capycorder's People

Contributors

pietia avatar polarblau avatar simi avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

capycorder's Issues

Support textfield selection

As a user i must be able to select a text in a textfield and get the step matcher accordingly e.g. find_field("name").value.should eq value

Fix: filling of test name included in output

it 'should navigate to post' do
  visit('/')
  fill_in('capycorder-spec-name', :with => 'should navigate to post')
  click_link('“Foobar”')
  page.should have_selector('h2')
end

Fix removal of processes

Referenced specs seem to hang around or at least the added generators unless they're explicitly removed in the specs constructor.

Refactor specs

There seem to be some faulty tests (e.g. #13), useless tests as well as missing tests.

jquery.get_selector test fails

jquery.get_selector should return nth child selector.
Expected '.same:nth-child(2)' to equal '.inner > .same:nth-child(2)'.

Error: Expected '.same:nth-child(2)' to equal '.inner > .same:nth-child(2)'.
    at new <anonymous> (http://localhost:4000/spec/jasmine/jasmine-1.2.0/jasmine.js:102:32)
    at [object Object].toEqual (http://localhost:4000/spec/jasmine/jasmine-1.2.0/jasmine.js:1194:29)
    at [object Object].<anonymous> (http://localhost:4000/spec/lib/jquery_plugins/jquery.get_selector_spec.js:14:54)
    at [object Object].execute (http://localhost:4000/spec/jasmine/jasmine-1.2.0/jasmine.js:1024:15)
    at [object Object].next_ (http://localhost:4000/spec/jasmine/jasmine-1.2.0/jasmine.js:2025:31)
    at [object Object].start (http://localhost:4000/spec/jasmine/jasmine-1.2.0/jasmine.js:1978:8)
    at [object Object].execute (http://localhost:4000/spec/jasmine/jasmine-1.2.0/jasmine.js:2305:14)
    at [object Object].next_ (http://localhost:4000/spec/jasmine/jasmine-1.2.0/jasmine.js:2025:31)
    at [object Object].start (http://localhost:4000/spec/jasmine/jasmine-1.2.0/jasmine.js:1978:8)
    at [object Object].execute (http://localhost:4000/spec/jasmine/jasmine-1.2.0/jasmine.js:2450:14)

Implement options panel

  • Select test framework — rspec, test/unit, minitest, …
  • CSS or XPATH
  • Where to put output? Collect tests and output at once?
  • Optimize output?
  • Use scopes?

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.