...only runs when it is called directly, but not as part of the whole test suite, make sure the filename is foo_spec.rb instead of just foo.rb...
...Behind the link, you'll find a simple HTML page that offers some cookie tests (how large, how many etc) and an overview of this data for various browsers.
...JavaScript libraries (jQuery, PrototypeJS), debugging support (it becomes pure, readable JavaScript), existing support from test suites (it’s normal JavaScript) and growing support from various text editors (TextMate, Vim, Emacs...
...message may occur when rspec gets loaded by rake, e.g. when you migrate the test database. NoMethodError: undefined method 'last_comment' for # Rake 11 removes a method that rspec-core...
Then ... Workarounds like this do not work reliably, will result in flickering tests and should be avoided. There is no known reliable way to detect if the browser...
...build great web applications. In a pretty traditional world you write code, you write tests for it, you deploy, and you go home. Until now...
...provides some instructions how you can get it to work with your cucumber acceptance tests using selenium webdriver as a capybara driver. Install xvfb if it is not installed yet...
...window, you can tag it with @no-headless. Note: If you are using paralell_tests to run your tests in parallel you have to take care of several things to...
...something I get asked about often enough by developers, and while we can do tests with DevTools, I have both the time and inclination to shortcut that for everyone. I...
...discovered new tools and techniques to separate and reuse logic, making code easier to test, understand, and maintain. Now that we’ve learned about all these new tools, when do...
...the command geordi migrate to migrate your databases and to prepare them before running tests. The abbrevation geordi m works as well. It will run rake db:migrate if parallel...
...tests does not exist in your Gemfile Otherwise it runs b rake db:migrate and then executes b rake parallel:prepare if parallel_tests was found in your Gemfile...
...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...
A comprehensive script to convert test suites from RSpec 2 to RSpec 3. This converts more than should/expect syntax...
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...
Nice tutorial about packaging Ruby bindings to your API in a Ruby gem, with tests using VCR casettes...
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...
Local testing allows you to test your private and internal servers using the BrowserStack cloud, which has support for firewalls, proxies and Active Directory...
One of many useful techniques when your test suite needs to talk to a remote API...
Takes a screenshot when you call it, or when a test fails...
Online tool to test how a site behaves in popular desktop, tablet and phone resolutions...
...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...
...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...
Wrapping a string in this class gives you a prettier way to test for equality...
Adds a slide out panel to your Rails application that directs clients to test stories that have been marked as 'delivered' in Pivotal Tracker...
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...