If you render markdown from user input, an attacker might be able to use this to inject javascript code into...
When an event listener on a DOM element throws an error, that error will be silenced and not interrupt your...
Test-Led Development is a flavour of Test Driven Development that focuses on productivity. This guide shows how it works...
If you need to test some HTML, e.g. an embed code, you can use RubyMine's "scratch files":
Debugging image color profiles is hard. You can't trust your eyes in this matter, as the image rendering depends...
ActiveSupport (since 4.1) includes test helpers to manipulate time, just like the Timecop gem: To travel a relative amount of...
In Ruby on Rails, all objects have a useful blank? method. It returns true for nil but also for empty...
Not all versions of Node.js are compatible with each other. Also npm packages may require a minimum or maximum version...
Download buttons can be difficult to test, especially with Selenium. Depending on browser, user settings and response headers, one of...
TL;DR Most web applications do not require action on this. SameSite=None (old browser default) will continue to work...
Was ist Elastic? Suchmaschine, basierend auf Apache Lucene größtenteils Open-Source einige kommerzielle Features ("Elastic Stack", früher "X-Pack") Zugriffsrechte...
RSpec >= 3.3 added aggregate_failures, which allows multiple failures in an example and list them all, rather than aborting on...
We want to move away from jQuery in future projects Motivations are performance, bundle size and general trends for...
For Sidekiq to be able to retry your jobs it has to be able to catch errors that occur while...
Migrating data from a legacy into a new system can be a surprisingly large undertaking. We have done this a...
At makandra, we've built a few gems over the years. Some of these are quite popular: spreewald (> 1M downloads...
CarrierWave comes with some RSpec matchers which will make testing more comfortable. Let's say you have an Uploader like...
This cucumber step is useful for testing an image (looking at the src of the image). Then(/^I should see...
By default, browsers will not wrap text at syllable boundaries. Text is wrapped at word boundaries only. This card explains...
HTTPie consists of a single http command designed for painless debugging and interaction with HTTP servers, RESTful APIs, and web...
Checking if a JavaScript value is of a given type can be very confusing: There are two operators typeof and...
You are not using javascript tests The file is served from a public folder (not via controller) Problem description...
An end-to-end test (E2E test) is a script that remote-controls a web browser with tools like Selenium...
Slides for Henning's talk on Sep 21st 2017. Understanding sync vs. async control flow Talking to synchronous (or "blocking...