rspec.info

In modern default RSpec configurations, your tests are usually run in random order. This helps to detect "flickering" tests that...

makandra Operations

You can use wscat: sudo apt-get install node-ws # wscat -c ws://echo.websocket.org connected (press CTRL+C to quit...

For the initial setup or changes in the sentry reporting it might be useful to enabled reporting of sentry in...

Note: The behaviour of Spreewald's within step is as described below for version < 1.9.0; For Spreewald >= 1.9.0 it is...

Occasionally, you have to talk to APIs via HTTPS that use a custom certificate or a misconfigured certificate chain (like...

If the application under test makes sound, you probably want to disable this during integration testing. You can use the...

Advanced cucumber features Learn about the following cucumber features: Doc Strings ("multiline strings") Tables Tags Before/after hooks Background Scenario outlines...

stackoverflow.com

This error message may occur when rspec gets loaded by rake, e.g. when you migrate the test database. NoMethodError: undefined...

Sometimes huge refactorings or refactoring of core concepts of your application are necessary for being able to meet new requirements...

If you get an error like this for a puppet mount: $ > puppet agent --test Info: Retrieving pluginfacts Info: Retrieving plugin...

Exercise 1: XML On the start page of your Movie DB, show the title of a random movie that is...

Adopting legacy Rails apps Talk to your mentor about how we're approaching applications that are either old or abandoned...

TL;DR Debugging problems with javascript errors in cucumber tests is sometimes easier in the browser. Run the test, stop...

makandra dev
web.archive.org

When testing your command line application with Aruba, you might need to stub out other binaries you don't want...

clipboardjs.com

We used zeroclipboard.js in some of our projects but now we switched to clipboard.js because it does not rely on...

github.com

This might be relevant for us since we're often managing customer documents in our apps. I played around with...

We often use VCR to stub external APIs. Unfortunately VCR can have problems matching requests to recorded cassettes, and these...

github.com

We have released a new library Gemika to help test a gem against multiple versions of Ruby, gem dependencies and...

Same requests are recorded only once in vcr. Replaying a test fails, if you trigger the same request multiple times...

makandra dev
github.com

Improve geordi cucumber: Only attempt @solo run when the specified files contain the @solo tag, skip @solo run if any...

Capistrano is by default configured to exclude the gems of the groups development and test when deploying to the stages...

You want Spring for super-fast binstubs like bin/rails or bin/rspec which avoid Rails boot time. You want parallel_tests...

Things to check first Do you deliver fonts in a format that the target IE version understands? Did you double...

Sometimes you want to test migrations with production or staging data. Dumping single tables makes sense if a complete dump...