Skip to content

dagger/pytest

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pytest Dagger Toolchain

A toolchain for testing Python application with automatic OpenTelemetry tracing

This toolchain automatically injects a pytest_otel library for test tracing visibility in Dagger TUI and Dagger Cloud. No configuration required.

Usage:

On a python project, using pytest as the test runner:

  • initialize a dagger module if not already done: dagger init .
  • install the pytest toolchain: dagger toolchain install github.com/dagger/pytest
  • run tests: dagger check pytest:test. It will:
    • creates a Wolfi based container with uv
    • install your project dependencies using uv sync (a cache volume is set)
    • inject the pytest_otel dependency for automatic test tracing
    • run pytest

About

A Dagger toolchain for pytest - a python test framework

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •