Reasons to Love Jest: The Test Framework
A developer shares key reasons to love the Jest testing framework, highlighting its zero-config setup, built-in features, and extensibility.
A developer shares key reasons to love the Jest testing framework, highlighting its zero-config setup, built-in features, and extensibility.
A developer shares practical steps for learning and contributing to an open source codebase, from reading guidelines to debugging.
A guide to testing code that uses randomness or time by using dependency injection to make tests deterministic.
An explanation of JavaScript mocking using a thumb war game example to test a non-deterministic function.
The author explains how teaching others solidifies your own learning and outlines their personal learning process.
A guide on testing React components that use render prop components, covering integration and E2E testing strategies.
A guide explaining what JavaScript tests are by building a simple testing framework from scratch for pure functions.
Introducing Pastamaker, a tool to automate a safe GitHub pull-request workflow with required reviews and up-to-date CI testing.
Learn how to use the vim-test plugin to run automated tests instantly within Vim, eliminating the need to switch terminals.
A developer's guide to migrating a Node.js project's test suite from Mocha/Should.js to Jest using codemods, including challenges and solutions.
A tutorial on using Sinon.js to stub HTTP requests in unit tests, preventing external API calls during test runs.
A guide on how to run Cucumber BDD tests directly from the command line using the Java CLI runner, covering classpath setup and arguments.
Explains a subtle issue with mock verification order in Spock tests and provides a solution using multiple 'then' blocks.
A technical article about using a Python context manager to simplify testing with feature flags, replacing numerous test fixtures.
Discusses the pitfalls of using random data for testing in software development and advocates for using object factories instead.
A technical talk summary on building reliable software systems, covering key concepts, books, and practices from Site Reliability Engineering (SRE).
Explains the execution order of nested beforeEach and afterEach blocks in the Quick testing framework for Swift.
A tutorial on using Docker and Docker Compose to develop, configure, and test microservices locally, including debugging and workflow tips.
A guide on using the faker.js library to generate mock data for prototyping and testing Node.js and JavaScript applications.
A guide to using parameterized tests in JUnit 5, including code examples and a demo repository.