testing
12 pages in this category.
vitest
Package-level reference for vitest on npm — install variants, vite peer-dep, UI and coverage add-ons, environments, and alternatives.
ragas
Package-level reference for ragas on PyPI — install variants, LLM-as-judge dependencies, metric churn, and alternative evaluators.
pytest
Package-level reference for pytest on PyPI — install variants, version policy, the pytest-* plugin ecosystem, and alternatives.
Jest
Day-to-day Jest CLI commands and config patterns — running tests, mocks, snapshots, coverage, watch mode, and migration tips.
jest
Package-level reference for jest on npm — install variants, transformer ecosystem, peer-dep landscape, vitest competition, and migration paths.
Cypress
Day-to-day Cypress CLI commands and config patterns — interactive runs, headless CI, intercepts, sessions, component testing, and Playwright comparison.
cypress
Package-level reference for cypress on npm — install size, binary caching, peer-dep landscape, playwright competition, and component-testing add-ons.
@playwright/test
Package-level reference for @playwright/test and playwright on npm — install variants, browser-binary download, fixtures, traces, and alternatives.
Testing Strategies
A practical guide to test design — the pyramid (unit/integration/e2e), fixture and mock patterns, property-based testing, snapshot tests, and CI strategies that scale.
Playwright
Cross-browser end-to-end test runner from Microsoft with auto-waiting, role-based selectors, trace viewer, and codegen.
pytest
Write and run Python tests with pytest. Covers test discovery, assertions, fixtures, parametrize, conftest, and common patterns.
mypy
Catch type errors before runtime with mypy. Covers strict mode, common error codes, type: ignore annotations, gradual typing, and pyproject.toml configuration.