Packages

Testing & Mocking Packages

Testing frameworks, assertion libraries, and mocking tools for writing reliable unit, integration, and end-to-end tests (testify, pytest, Vitest).

166 packages

Packages in Testing & Mocking

44Health
Library PyPI

unittest-xml-reporting

A unittest test runner that saves results as xUnit/JUnit XML for CI systems to consume.

307
Other
Used by 1
85Health
Library PyPI

Cucumber Expressions

A human-readable alternative to regular expressions for matching Gherkin step text

200
MIT
Used by 1
35Health
Library npm

cypress-log-to-output

A Cypress plugin that pipes browser console logs and Chrome DevTools log entries into your terminal's stdout during test runs.

146
MIT
Used by 1
72Health
Library PyPI

pytest-aiohttp

A pytest plugin with fixtures for testing aiohttp servers and clients, with cleanup handled for you.

143
Apache 2.0
Used by 1
42Health
Library Composer

Behat Page Object Extension

A Behat extension that brings the Page Object pattern to your BDD tests, auto-injecting typed page and element objects into context step definitions.

116
MIT
Used by 1
58Health
Tool PyPI

pytest-reportlog

A pytest plugin that streams test session events to a JSON Lines file for real-time monitoring and processing.

104
MIT
Used by 1
35Health
SDK PyPI

wiremock

Python client and Testcontainers integration for driving a WireMock server from tests

81
Apache 2.0
Used by 1
54Health
Tool Composer

psalm/plugin-phpunit

A Psalm static analysis plugin that understands PHPUnit test classes, mocks, and data providers.

77
MIT
Used by 1
35Health
Tool PyPI

pytest-pylint

Run pylint checks as pytest test items, failing your build on configurable pylint rule severities.

77
MIT
Used by 1
60Health
Library Cargo

codspeed-criterion-compat

Drop-in Criterion.rs compatibility layer that runs Rust benchmarks under CodSpeed.

76
Other
Used by 1
76Health
Library npm

OpenFeature LocalStorage Provider

An OpenFeature provider that resolves feature flags from the browser's localStorage for instant client-side overrides.

75
Apache 2.0
Used by 1
71Health
Library Cargo

datatest-stable

A Rust test harness for file-driven, data-driven tests that runs on stable Rust.

54
Other
Used by 1
37Health
Library PyPI

kgb

Function spies for Python unit tests that intercept, record, and reroute calls without heavy-handed mocking.

53
MIT
Used by 1
22Health
Library Cargo

allocation-counter

A Rust library that runs code while counting heap allocations, for profiling and allocation-budget assertions.

40
Apache 2.0
Used by 1
73Health
Library npm

get-it

Composable HTTP request library for Node.js, browsers, Deno, Bun, and edge runtimes

38
MIT
Used by 1
34Health
SDK Cargo

antithesis-sdk-rust

Rust SDK for the Antithesis autonomous testing platform: define test-property assertions, request platform-controlled randomness, and mark lifecycle milestones for fault-injection runs.

36
MIT
Used by 1
35Health
Library npm

memory-level

In-memory abstract-level database for Node.js and browsers, backed by a fully persistent red-black tree.

36
MIT
Used by 1
32Health
Library npm

storybook-vue3-router

A Storybook decorator that wraps Vue 3 components in vue-router so routing-aware stories render, navigate, and test correctly.

32
MIT
Used by 1
70Health
Library PyPI

tag-expressions

A small boolean-expression parser and evaluator for selecting Gherkin scenarios by tag, used by behave and other Cucumber-family test runners.

20
MIT
Used by 1
21Health
Library npm

minimalistic-assert

A zero-dependency JavaScript assertion module for throwing errors on falsy values and loose equality checks.

19
Other
Used by 1
55Health
Library npm

pseudolocale

Idempotent pseudolocalization library that deterministically mutates strings to surface i18n bugs before real translation begins.

9
MIT
Used by 1
25Health
Tool PyPI

pytest-flake8

A pytest plugin that runs flake8 PEP8 and style checks against your Python files as part of the normal test suite.

1
MIT
Used by 1

Join founders buildingwith open source

Opinionated takes, migration guides, cost-saving tips, and insights from the open source ecosystem.

Subscribe on Substack
Join 750+ subscribers