$npx skillfedfor your agent

opentelemetry-test-utils

Test utilities for OpenTelemetry unit tests

With conditionsPyPI TestingReleased Jul 2026651.2K downloads / moApache-2.0Pure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — opentelemetry_test_utils-0.65b0-py3-none-any.whl
v0.65b0 · released 2026-07-16 · Python >=3.10 · 4 runtime deps: asgiref, opentelemetry-api, opentelemetry-sdk, requests

Yes, if you are developing OpenTelemetry instrumentation or testing SDK code. Install it as a test dependency (dev/test requirements) in projects that need to validate their own telemetry logic. Not needed for applications that only consume OpenTelemetry instrumentation.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.10 or later; intended for use within test code, not production applications.
  • Low install friction with a pure-Python wheel.
  • Actively maintained as part of the OpenTelemetry project with a recent release (29 days ago) and active repository status.

License · maintenance · safety

Apache-2.0 (permissive) — Licensed under Apache-2.0 (permissive), which allows free use, modification, and distribution with minimal restrictions.

last release 2026-07-16 (29 days) · last repo commit 2026-08-14 · 2,588 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 651,231 downloads/mo, #5,552 on PyPI

Verify before relying

pip install opentelemetry-test-utils

from opentelemetry_test_utils import ...
# Use test utilities in your test suite
  • What specific test utilities and fixtures are included in this package
  • Whether this package is intended for end-user testing or only for OpenTelemetry developers
  • Compatibility guarantees with specific versions of opentelemetry-api and opentelemetry-sdk
Same gist for agents: .md · .json

What it is and what it does

OpenTelemetry Test Utils is a support package within the OpenTelemetry Python project that supplies test utilities and fixtures for writing unit tests. It is designed to help developers test OpenTelemetry instrumentation and SDK code by providing reusable testing helpers. The package depends on opentelemetry-api, opentelemetry-sdk, asgiref, and requests, making it part of the broader OpenTelemetry ecosystem.

This is a Beta-status package (Development Status :: 4 - Beta) that supports Python 3.10 through 3.14. It is maintained by the OpenTelemetry community and receives regular updates. The package is not intended as a standalone tool but rather as a dependency for projects that need to test their own OpenTelemetry instrumentation code.

Use it for

  • Writing unit tests for custom OpenTelemetry instrumentation packages
  • Testing OpenTelemetry SDK extensions and exporters
  • Validating trace and metric collection in your instrumented application code
  • Setting up test fixtures for telemetry-related test suites

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, if you are developing OpenTelemetry instrumentation or testing SDK code.

Install it as a test dependency (dev/test requirements) in projects that need to validate their own telemetry logic. Not needed for applications that only consume OpenTelemetry instrumentation.

Install

opentelemetry-test-utils on PyPI

Before you install

Low install friction with a pure-Python wheel. Actively maintained as part of the OpenTelemetry project with a recent release (29 days ago) and active repository status.

Requires Python 3.10 or later; intended for use within test code, not production applications.

License in practice

Licensed under Apache-2.0 (permissive), which allows free use, modification, and distribution with minimal restrictions.

Quickstart

pip install opentelemetry-test-utils

from opentelemetry_test_utils import ...
# Use test utilities in your test suite

Verify before relying

  • What specific test utilities and fixtures are included in this package
  • Whether this package is intended for end-user testing or only for OpenTelemetry developers
  • Compatibility guarantees with specific versions of opentelemetry-api and opentelemetry-sdk

Package facts

LicenseApache-2.0 permissive
Python supportSupports the current Python release >=3.10
Install frictionLow. Pure-Python wheel
Runtime dependencies
4 packages
asgirefopentelemetry-apiopentelemetry-sdkrequests
MaintenanceActively maintained 29 days since the last release
Last repo commit
First released
Downloads651,231 / month, #5,552 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 4 - BetaFramework :: OpenTelemetryIntended Audience :: DevelopersProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14

Evidence: opentelemetry_test_utils-0.65b0-py3-none-any.whl

Tags

Capabilities
opentelemetry testing utilitiesotel test helpersopentelemetry unit test toolstelemetry test fixturesotel instrumentation testing
Topics
opentelemetrytestinginstrumentation

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “opentelemetry testing utilities”

  • opentelemetry-test-utilsProvides test utilities and helpers for writing unit tests for…
  • otel-extensionsProvides helper classes, decorators, and functions to simplify setup…
  • pytest-otelA pytest plugin that captures and exports OpenTelemetry spans for…

Give your agent the search over MCP, or paste the wish link into any chat.

More Testing packages

pluggy Worth it
PyPI · Libraries · released May 2025

Pluggy provides a plugin system that lets you define hook specifications and register implementations to be called in sequence, enabling extensible Python applications without tight coupling.

Install it if you're building an extensible application or framework.

MITpure Python · 3.9+aging
1.3Bdownloads / mo
pytest Worth it
PyPI · Libraries · released Jun 2026

pytest is a testing framework that lets you write test functions using plain assert statements and automatically discovers and runs them, with detailed failure reporting.

MITpure Python · 3.10+
1.1Bdownloads / mo
virtualenv Worth it
PyPI · Libraries · released Aug 2026

virtualenv creates isolated Python environments where packages can be installed independently without affecting the system Python or other projects.

MITpure Python · 3.9+
532.9Mdownloads / mo
coverage Worth it
PyPI · Testing · released Aug 2026

Coverage.py measures which lines of Python code are executed during test runs, reporting coverage percentages and identifying untested code paths.

Install it if you want to measure test completeness or enforce coverage thresholds in your project.

permissive licensepure Python · 3.10+
335.8Mdownloads / mo
pytest-asyncio Worth it
PyPI · Testing · released May 2026

pytest-asyncio is a pytest plugin that enables writing and running async test functions using the asyncio library, allowing developers to await code directly within test cases.

Install it if you write tests for any asyncio-based code.

Apache-2.0pure Python · 3.10+
275.9Mdownloads / mo
pytest-json-ctrf Worth it
PyPI · Testing · released Jul 2026

A pytest plugin that generates test reports in Common Test Report Format (CTRF) as JSON, compatible with pytest-xdist and pytest-playwright for distributed and browser-based testing.

Install it if you need CTRF-formatted test output for CI/CD integration or cross-tool reporting.

MITpure Python · 3.8+
273.0Mdownloads / mo

See also opentelemetry-sdk · opentelemetry-api · opentelemetry-distro · opentelemetry-instrumentation-logging · opentelemetry-contrib-instrumentations · opentelemetry-semantic-conventions · opentelemetry-instrumentation-exceptions · opentelemetry-instrumentation · opentelemetry-instrumentation-openai-agents-v2 · opentelemetry-instrumentation-structlog