testing-python
π―Skillfrom eyh0602/skillshub
Writes and evaluates Python tests using pytest, covering test design, fixtures, parameterization, mocking, and async testing strategies.
Part of
eyh0602/skillshub(14 items)
Installation
uv run pytest -n auto # Run all tests in paralleluv run pytest -n auto -x # Stop on first failureuv run pytest path/to/test.py # Run specific fileuv run pytest -k "test_name" # Run tests matching patternuv run pytest -m "not integration" # Exclude integration testsSkill Details
Write and evaluate effective Python tests using pytest. Use when writing tests, reviewing test code, debugging test failures, or improving test coverage. Covers test design, fixtures, parameterization, mocking, and async testing.
More from this repository10
paper-polish skill from eyh0602/skillshub
Automates comprehensive code reviews across multiple languages, providing in-depth analysis, best practices, security checks, and detailed review reports.
Generates comprehensive unit and integration tests for tldraw SDK using Vitest, covering editor functionality, shapes, tools, and test file organization.
Generates comprehensive, Sphinx-formatted docstrings for PyTorch functions and methods, following official PyTorch documentation conventions.
Reviews documentation changes against Metabase's writing style guide, providing structured feedback for markdown files in pull requests or local diffs.
read-repo-references skill from eyh0602/skillshub
Guides data science professionals through advanced machine learning techniques, model deployment, and complex data analysis workflows.
Guides developers through creating, structuring, and publishing Python packages using modern packaging tools and best practices.
Manages and installs Python packages from UV package manager with simplified command-line interactions and dependency resolution.
Verifies code changes by running formatting, linting, type checking, and tests in the OpenAI Agents Python repository.