httpbin.org

Some dozen generic API endpoints you can use to test how your HTTP client deals with various responses, e.g.

makandra dev
blog.getbootstrap.com

Moved from Less to Sass. Bootstrap now compiles faster than ever thanks to Libsass, and we join...

slideshare.net

Interesting talk about a team that integrated automated security testing into their BDD workflow. There is also a video of...

Spreewald comes with a selector_for helper that matches an English term like the user's profile into a CSS...

makandra dev

Each time thin boots, it prints a boot message : Thin web server (v1.6.3 codename Protein Powder) Maximum connections set to...

makandra dev

CTRL + SHIFT + ALT + N Search for any symbol in your application, like CSS classes, Ruby classes, methods, helpers etc...

In tests, it is sometimes useful to create records with specific ids. On PostgreSQL this can cause problems: Usually, PostgreSQL...

Jasmine comes with two matchers that test for equality. The first is toBe: expect(first).toBe(second) toBe passes when...

jasmine.github.io

The easiest way to freeze or travel through time in a Jasmine spec is to use the built-in jasmine.clock...

If you are writing any amount of Javascript, you are probably using closures to hide local state, e.g. to have...

When running capybara with Chrome you might start seeing frequent "no alert open" errors when trying to interact with browser...

Running projects parallel makes some trouble with PDF generation. Use geordi rspec spec to force sequential tests for the whole...

Large projects usually have large test suites that can run for a long time. This can be annoying as running...

If you need to follow links, click buttons, etc. using Capybara inside an , you can do it like this:

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

github.com

If you have FactoryGirl traits like this: factory :movie do title 'Sunshine' year 2007 trait :vintage do year 1951

Please don't use the horrible datetime_select helper. It has a terrible UI. Always prefer to use a visual...

When using Savon to connect a SOAP API, you may want to use Savon::SpecHelper to mock requests in your...

jasmine.github.io

Jasmine has a jasmine.clock() helper that you can use to travel through time and trigger setTimeout and setInterval callbacks:

You might wonder about this request in your test.log: Started GET "/__identify__" for 127.0.0.1 at 2015-04-29 18:00...

github.com

jquery-placeholder is a simple jQuery plugin that enables form placeholders in browsers that do not support them natively, i.e...

bugs.ruby-lang.org

TL;DR Under certain circumstances, dynamically defined symbols may break keyword arguments in Ruby 2.2. This was fixed in Ruby...