Interesting talk about a team that integrated automated security testing into their BDD workflow. There is also a video of...
Jasmine comes with two matchers that test for equality. The first is toBe: expect(first).toBe(second) toBe passes when...
Developing complex regular expressions quickly blows my mind. Here are some online regex editors that help you by highlighting matching...
When you register a delegated event using on (or the deprecated delegate / live), it is somewhat hard to manually trigger...
sslscan is a nice tool to show details about TLS/SSL connections: ~> sslscan some-host-at.makandra.de Testing SSL server some-host-at.makandra.de on port 443...
When using Savon to connect a SOAP API, you may want to use Savon::SpecHelper to mock requests in your...
Jasmine has a jasmine.clock() helper that you can use to travel through time and trigger setTimeout and setInterval callbacks:
Here is a Javascript function reloadUsers() that fetches a HTML snippet from the server using AJAX and replaces the current...
When testing code that uses pushState / replaceState, your browser will appear to navigate away from http://localhost:3000/specs (or wherever...
This jasmine plugin helps with testing DOM manipulation in two ways: It gives you DOM-related matchers like toBeVisible() or...
This is a problem when using Selenium with Firefox. We recommend using ChromeDriver for your Selenium tests. This setup allows...
Option 0: Download from the official page (preferred) Open https://googlechromelabs.github.io/chrome-for-testing/ In Section "Stable" > chromedriver / linux64 > Download ZIP from...
Firefox 5.0.1, which we were using for most Rails 2.3 projects, does not run on Ubuntu 14.04 any more. Here...
# config/initializers/sidekiq.rb # Perform Sidekiq jobs immediately in development, # so you don't have to run a separate process.
When using jQueryUI's Sortable plugin (either directly or via Angular's ui.sortable), you might struggle testing your nice drag...
The attached RSpec matcher allows for comfortably testing delegation. Examples describe Post do it { should delegate(:name).to(:author).with...
Aruba is an extension to Cucumber that helps integration-testing command line tools. When your tests involve a Rails test...
Travis CI is a free continuous integration testing service. However, it is really fragile and will break more than it...
Local testing allows you to test your private and internal servers using the BrowserStack cloud, which has support for firewalls...
Development environment setup Rails Composer : Basically a comprehensive Rails Template. Prepares your development environment and lets you select web server...
You can now test for Reply-to Then an e-mail should have been sent with: """ From: foo@bar.com To: bar@baz.com...
If you want to have routes that are only available in tests (e.g. for testing obscure redirects), you can use...
In contrast to RSpec's included allow_value matcher, the attached matcher will also work on associations, which makes it...
Preface: Normally, you would not need this in integrations tests (probably that's why it is so hard to achieve...