TIL: Subtests in pytest 9.0.0+
Explores the new subtests feature in pytest 9.0.0, comparing it to parametrized tests for performance and flexibility.
Explores the new subtests feature in pytest 9.0.0, comparing it to parametrized tests for performance and flexibility.
A guide on using Zig's unit testing features to add tests to an existing C application, using the uStreamer video streaming utility as a real-world example.
Announcing luatest, a new, fast Lua test runner inspired by pytest, offering significant speed improvements over existing options.
Building a SaaS product: adding an Account model and creating a background job to send journal prompt emails with full unit testing.
A tutorial on using React Testing Library to test React components from a user's perspective, covering setup with Jest.
A guide to testing custom Kafka Connect source connectors, covering unit and integration testing strategies with code examples.
A developer adds custom form validation in Django to prevent duplicate student enrollments and improves empty state templates.
A developer stream recap fixing task completion date bugs and adding student grade data to a Django SaaS app using test-driven development.
A developer documents project setup, fixes a course scheduling bug, and starts building a new student reports section in a Django application.
A discussion on why there's no single correct way to write tests, challenging the dogma around unit testing and TDD.
A developer builds a student enrollment form using Python and Django, focusing on context data, Tailwind CSS styling, and unit testing.
An in-depth technical look at how the Mocha test runner works, from parsing to execution, based on the author's experience on the core team.
A developer builds a Django CreateView for adding courses, reusing forms and templates while following a test-driven approach.
A practical guide to Test-Driven Development (TDD), explaining the red-green-refactor cycle and when it's most beneficial to use.
Learn how to automatically run Python unit tests on every commit and pull request using GitHub Actions.
A guide to fixing the 'not wrapped in act(...)' warning in React component tests, covering class and function components.
Explains why you should make your tests fail to ensure they are actually testing the intended functionality and not giving false confidence.
A tutorial on testing Axios API calls in Jest, including mocking requests and handling success/error cases with code examples.
A developer shares insights on writing effective unit tests for React applications, covering coverage, test failures, and behavior over implementation.
A tutorial on using Jest snapshot testing to capture and compare the output of a React component before and after a state change.