Tips for getting coding agents to write good Python tests
Tips for using AI coding agents to generate high-quality Python tests, leveraging existing patterns and tools like pytest.
Tips for using AI coding agents to generate high-quality Python tests, leveraging existing patterns and tools like pytest.
Tips for using AI coding agents to generate high-quality Python tests, focusing on leveraging existing test suites and patterns.
Explores the new subtests feature in pytest 9.0.0, comparing it to parametrized tests for performance and flexibility.
A guide on using the pytest-env package to set environment variables for pytest tests in pyproject.toml, avoiding direct os.environ modification.
Learn how to use your test suite to identify and catch memory leaks in your software, with examples using pytest.
Argues that test code should prioritize readability and avoid excessive indirection, even at the cost of code duplication, to simplify debugging.
A developer starts a new SaaS project, a journaling service called journeyinbox.com, where users can journal via email.
A guide to setting up automated testing for Django projects using Pytest and GitHub Actions for continuous integration.
A guide to setting up automated testing and Continuous Integration for Python packages using GitHub Actions, including multi-OS and Python version testing.
A guide to setting up and using Tox and PyTest for testing Python functions in OpenFaaS, including a sample calculator project.
A guide to writing and running tests for a Python package using pytest, covering white box testing and project structure.
A Django developer builds core pages, adds model methods, and designs templates for a SaaS application in this coding tutorial episode.
A guide on switching a Django project's test runner from the default to pytest, covering installation, configuration, and benefits.
A tutorial on writing automated tests for a Django and Twilio Interactive Voice Response (IVR) system using Python and Pytest.
Learn how to automatically run Python unit tests on every commit and pull request using GitHub Actions.
A guide to creating and managing test fixtures for Django models using Pytest, focusing on the 'factory as a service' pattern.
An advanced guide to pytest features like parametrized tests, fixtures, and organizing large test suites, based on a Python Frederick presentation.
An introduction to Python testing using pytest, covering the basics and providing resources from a Python Frederick talk.
A guide to unit testing in Python, covering its benefits, components, and a practical walkthrough using the py.test framework.
A guide to unit testing in Python, covering its benefits, components, and a practical walkthrough using the py.test framework.