robots.thoughtbot.com

ShamRack mounts a Rack app locally, just for your tests. It goes one further: it “mounts” it using Net::HTTP...

stackoverflow.com

Seems like there's no way to do it in Capybara, unfortunately. But if you're running your tests with...

railstutorial.org

A thorough introduction to web development with Ruby on Rails

github.com

Clockwork is a cron replacement. It runs as a lightweight, long-running Ruby process which sits alongside your web processes...

github.com

Test spies are a form of test double that preserves the normal four-phase unit

gusiev.com

What do we expect from the custom finder? We expect that it should find assets A, B, C and should...

github.com

Run your Jasmine specs without a browser

github.com

The Holy Grail of testing for front-end development; execute browser-less, console-based, javascript + DOM code right from within...

Best results in other decks

def test_autocomplete(field, options = {}) fill_in field, :with => options[:with] page.execute_script("$('##{field}').trigger('focus');") page.execute_script ("$('##{field}').trigger...

When things go wrong, for example, caused by a bad commit, we need to revert back to an earlier known...

Search in all decks