blog.bigbinary.com

...environment yet, which Rails 5 enforces. If this error occurs while migrating your parallel test databases, make sure to update the parallel_tests gem first: current versions fix this. If...

...you're still using Cucumber < v3, the latest version of parallel_tests will be...

github.com

A comprehensive script to convert test suites from RSpec 2 to RSpec 3. This converts more than should/expect syntax...

httpbin.org

Some dozen generic API endpoints you can use to test how your HTTP client deals with various responses, e.g. a slow connection many redirects compressed data I found this useful...

engineyard.com

Nice tutorial about packaging Ruby bindings to your API in a Ruby gem, with tests using VCR casettes...

github.com

Using this gem, whenever a Capybara test in Cucumber, Rspec or Minitest fails, the HTML for the failed page and a screenshot (when using capybara-webkit, Selenium or poltergeist) is...

browserstack.com

Local testing allows you to test your private and internal servers using the BrowserStack cloud, which has support for firewalls, proxies and Active Directory...

robots.thoughtbot.com

One of many useful techniques when your test suite needs to talk to a remote API...

github.com

Takes a screenshot when you call it, or when a test fails...

makandra dev
responsive.is

Online tool to test how a site behaves in popular desktop, tablet and phone resolutions...

makandra dev
github.com

...for Ruby 1.9 with a powerful configuration library and automatic merging of coverage across test suites. Note that rcov won't ever have support for Ruby 1.9, you're supposed...

danhixon.github.com

...above when running cucumber, just execute... rm rerun.txt ...in the Rails directory. Or run... tests ...from the geordi gem. This will do the work for you automatically...

api.rubyonrails.org

Wrapping a string in this class gives you a prettier way to test for equality...

github.com

Adds a slide out panel to your Rails application that directs clients to test stories that have been marked as 'delivered' in Pivotal Tracker...

youtube.com

power-rake db:migrate VERSION=20100913132321 By default the environments development, test, cucumber and performance are considered. The script will not run rake on a production or...

github.com

A fake filesystem. Use it in your tests...

railscheck.rubyforge.org

...a shell command task "railscheck" that you can run against your Rails projects to test for a number of typical bugs, potential problems and inconsistencies...

integrityapp.com

...while you code. As soon as you push your commits, it builds, runs your tests, and makes sure everything works fine...

github.com

Or, you can test your Rack application (or Sinatra, or Rails, or Merb) using arbitrary HTTP client libraries, to check interoperability...

github.com

Write declarative tests using nested contexts without performance penalties. Contest is less than 100 lines of code and gets the job done...

github.com

Riot differs primarily in that it does not rerun setup for each test in a context...

exogen.github.com

Unlock achievements for running your test suite...

robots.thoughtbot.com

ShamRack mounts a Rack app locally, just for your tests. It goes one further: it “mounts” it using Net::HTTP such that requests to the Rack app never hit any...

github.com

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

rspec.info

Real-world example A real-world use case would be to test if the current page has a button with the label "Foo". There are many ways...