
Run Rails 6 System Tests in Docker Using a Host Browser
The problem: we wanted to get Rails system tests running using a browser on our development machines.
The problem: we wanted to get Rails system tests running using a browser on our development machines.
Selenium! Capybara! Webdriver! chromedriver! …there are a LOT of moving parts in Rails system tests. Let’s break it down, layer by layer.
Implementing a new Ruby Enumerable method turns into an exploration of refinements, enumerators, RSpec block testing, & more…
Randy Coulman has wrapped up his extensive and wide-ranging series of posts on unit testing with a wrap-up overview. Check it out!
Thus, to evaluate any testing strategy, you cannot just evaluate how it finds bugs. You also must evaluate how it enables developers to fix (and even prevent) bugs. Via: http://googletesting.blogspot.co.uk/2015/04/just-say-no-to-more-end-to-end-tests.html…
A walkthrough of getting an initial smoke test in place. Covers Rack::Test, OmniAuth, email_spec, Capybara, and more.
Sometimes on RubyTapas I serialize larger projects into bite-sized pieces. In this episode, you can see a slice of the outside-in TDD process I use as I develop part of…
At the borders of our systems, mockist testing hits a point of diminishing returns. In this free episode we take a look at when to stop mocking and start integration…
I have a few ongoing miniseries in RubyTapas. In this, the second installment of a miniseries chronicling the creation of a Rubygems plugin and an associated server, I touch on…
How I avoid finding myself in database bizarro world while testing Rails apps.