When filling out forms in Selenium tests, Chrome shows the (usual) bubble, asking to store those credentials. While the bubble...

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...

makandra dev

This is a visualization of the files that will be generated by some useful rails generators. Invoke a generator from...

makandra dev
activestate.com

Looks like ActiveState is trying to market a new Ruby distribution for Enterprises: ActiveRuby Enterprise Edition is designed for businesses...

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

makandra dev

Using VCR to record communication with remote APIs is a great way to stub requests in tests. However, you may...

makandra dev
brunildo.org

The pages listed here contain tests and experiments about features, possibilities, browsers’ bugs concerning CSS. That is, over 200 experiments...

developer.mozilla.org

You can easily have a JavaScript hash/object that returns a default value for unset keys/properties -- as long as you need...

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

We generally use multiple application servers (at least two) and you have to search on all of them if you...

stackoverflow.com

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

makandra dev
github.com

Reminder of what you can do with Geordi. Note: If you alias Geordi to something short like g, running commands...

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...

Like you know from "How to tell ActiveRecord how to preload associations (either JOINs or separate queries)", you can tell...

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

github.com

When running tests via parallel_tests, you may encounter an error: cannot load such file -- parallel_tests/gherkin/runtime_logger Error creating formatter...

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...

When you're writing specs for ActiveRecord models that use memoization, a simple #reload will not do: it 'updates on...

clipboardjs.com

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

api.rubyonrails.org

Instantiating ActiveRecord objects comes expensive. To speed up things, you can choose a more direct way to talk to your...

api.rubyonrails.org

When working with custom transactions and use ActiveRecord::Rollback you may encounter unexpected behaviour if you try to roll back...

github.com

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