OpenAI is currently limiting the Audio generating API endpoint to text bodies with a maximum of 4096 characters.
tl;dr You can use ordered to ensure that messages are received in a specific order. Example expect(ClassA).to...
When you find similar groups of expect calls in your tests, you can improve readability by extracting the group into...
Ruby has the class Rational which allows you to store exact fractions. Any calculation on these variables will now use...
While upgrading CarrierWave from version 0.11.x to 3.x, we encountered some very nasty fails. Below are the basic...
I recently stumbled over a problem that my feature tests broke in CI because of a mismatching chromedriver version.
Given you have an array column like this: create_table "users", force: :cascade do |t| t.integer "movie_ids", default: [], array...
View specs are a powerful tool to test several rendering paths by their cases instead of using a more costing...
The recommended additional setup of the spreewald gem, a useful set of cucumber steps, includes adding a file for defining...
Note Don't use reruns as a mean to work around flaky tests. You should always try to fix those...
Chromedriver (or selenium-webdriver?) will not reliably scroll elements into view before clicking them, and actually not click the element...
Besides Plotting graphs in Ruby with Gruff, which comes handy for many uses cases, you sometimes might need configuration for...
Both knapsack and parallel_tests have the option to split groups by historic execution time. The required logs for this...
For my computer science bachelor's thesis I programmed and evaluated a CLI Test Case Prioritization (TCP) tool for makandra...
Newest versions of Chromedriver breaks the user agent for device emulation via device name. In previous versions the user agent...
Capybara allows you to filter elements that are focused. page.find(:fillable_field, focused: true) # Filtering only fillable inputs for performance...
In CI test runs I noticed that string sorting order changed after switching from a debian-based PostgreSQL docker image...
You can tell npm to install a package globally with npm -g install @puppeteer/browsers. However, it seems that its not...
Rails offers several methods to manage three types of different cookies along with a session storage for cookies. These...
We have a long-standing checklist for merge requests. However, it hardly matches the intricate requirements for design. This checklist...
Code splitting is a feature of esbuild that can keep huge libraries out of the main bundle. How code splitting...
As we are slowly switching from Cucumber scenarios to RSpec feature specs, you might be tempted to write assertions like...
I recently noticed that better_errors allows you to to open files from within your favorite editor. However it was...
Debugging your integration tests, that run a headless Chrome inside a docker image, is tricky. In many cases you can...