ShamRack mounts a Rack app locally, just for your tests. It goes one further: it “mounts” it using Net::HTTP...
Seems like there's no way to do it in Capybara, unfortunately. But if you're running your tests with...
A thorough introduction to web development with Ruby on Rails
Clockwork is a cron replacement. It runs as a lightweight, long-running Ruby process which sits alongside your web processes...
Test spies are a form of test double that preserves the normal four-phase unit
What do we expect from the custom finder? We expect that it should find assets A, B, C and should...
Run your Jasmine specs without a browser
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...