Make Your Test Fail
Explains why you should make your tests fail to ensure they are actually testing the intended functionality and not giving false confidence.
Explains why you should make your tests fail to ensure they are actually testing the intended functionality and not giving false confidence.
A guide to setting up and writing component tests for Svelte applications using Jest and the Svelte Testing Library.
Explains how to use Java 13 text blocks in test code while keeping main project code compatible with older Java versions like Java 8.
Explains how to use Java 13 text blocks in test code while maintaining main code compatibility with older Java versions.
A senior frontend engineer reviews 2019, covering remote work with Vue.js, side projects, blogging stats, and a failed online course venture.
A tutorial on using a Docker image to quickly generate CA, server, and client SSL certificates for testing TLS setups.
Explores using dynamically scoped variables in Go to improve test helper APIs, reducing boilerplate and passing of testing.T.
A guide to mocking the JavaScript Date object in Jest for consistent testing, covering timezone configuration and mocking Date.now.
A developer shares key lessons learned from running a hands-on Cypress testing workshop, covering preparation, structure, and troubleshooting.
A guide on using Cypress tasks to reseed a database for isolated, reliable, and fast testing scenarios.
A post-mortem analysis of a production outage caused by a broken Django migration, and the introduction of django-test-migrations for safer database changes.
An introduction to Awaitility, a Java library for testing asynchronous and multi-threaded code, making tests concise and readable.
A guide to using Angular Testing Library for writing maintainable, user-focused tests for Angular components, with a practical feedback form example.
An advanced guide to pytest features like parametrized tests, fixtures, and organizing large test suites, based on a Python Frederick presentation.
A tutorial on testing React components connected to a Redux store using Jest and Redux Mock Store.
A guide to seeding databases for backend testing, covering methods like create vs. insertMany and when to use each.
A guide to using shallow rendering in Jest snapshot tests to avoid large outputs and duplicated test setups for React parent components.
The article argues against writing many small, single-assertion tests for React components, advocating for fewer, more comprehensive tests.
The author explains their decision to create a Patreon for financial support to improve their long-form educational content and live streams.