Announcing luatest: A Lua test runner inspired by pytest
Announcing luatest, a new, fast Lua test runner inspired by pytest, offering significant speed improvements over existing options.
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 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 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.
A tutorial on testing Axios API calls in Jest, including mocking requests and handling success/error cases with code examples.
A tutorial on using Jest snapshot testing to capture and compare the output of a React component before and after a state change.
The article argues against writing many small, single-assertion tests for React components, advocating for fewer, more comprehensive tests.
A tutorial on setting up and using Enzyme with Jest for unit and integration testing of React components.
Explains why nesting in tests, especially with beforeEach hooks, leads to unmaintainable code, using a React component as an example.
An article explaining the fundamentals of software testing, from basic assertions to advanced frameworks, and how to build your own testing tools.
Explores common developer struggles with writing and maintaining tests, and offers practical advice to overcome these challenges.
A guide on achieving test isolation in React components to improve test reliability and prevent shared mutable state issues.
The author argues against using shallow rendering for React component testing, explaining its pitfalls and advocating for better alternatives.
An explanation of JavaScript mocking using a thumb war game example to test a non-deterministic function.