AiSkillz

AiSkillz is in preview: browse the catalogue now - skill downloads and subscriptions open soon.

← Back to skills
testingDownloadAny / model-agnosticLicense: My own work (all rights reserved)

Python Testing with pytest

Created by CodeCraft LLC

Write and review Python tests with pytest

Product and technology names are trademarks of their respective owners, used only to identify what this skill covers. CodeCraft LLC is not affiliated with or endorsed by them.

by Jace (@jamick)v1.0.0 · updated 2026-10-16Report copyright infringement

Description

Write and review Python tests with pytest - configuration in pyproject.toml, discovery and naming, fixtures with yield teardown and function/module/session scopes, conftest.py sharing, parametrize with readable ids, monkeypatch vs unittest.mock (patching where a name is looked up, AsyncMock), async tests with pytest-asyncio and event-loop scopes, tmp_path, capfd and caplog, markers for slow and integration tests, and coverage gates in CI. Use whenever the project uses pytest or the user writes Python tests, asks how to mock something, sees a patch that doesn't take effect, "coroutine was never awaited" in tests, fixture scope or event-loop errors, flaky or slow test suites, or wants coverage in CI.

#testing#python

Included with all-access

$9.00 value as a single download

AiSkillz is in preview: browse the catalogue now - skill downloads and subscriptions open soon.

All skills are included with the all-access subscription

Changelog

v1.0.0Oct 16, 2026Latest

Added

  • First release.