@hackage hs-opentelemetry-instrumentation-tasty1.0.0.0

OpenTelemetry instrumentation for the Tasty test framework

hs-opentelemetry-instrumentation-tasty

hs-opentelemetry-instrumentation-tasty

OpenTelemetry instrumentation for the Tasty test framework; it creates the following spans inside the instrumented TestTree:

  1. Individual test cases
  2. Test groups
  3. Resource setup and teardown

As Tasty executes all tests in parallel, this instrumentation should be robust in the presence of parallel execution.

Usage

Usage requires:

  1. Setting and tearing down a trace provider as normal in your test executable.
  2. Calling instrumentTestTree on your TestTree.

See the test suite for examples of how to use the library.