Crate pdk_test

Crate pdk_test 

Source
Expand description

PDK Integration Testing Framework

Framework for writing non-blocking integration tests based on Docker containers. It provides utilities for managing test environments, services and containers in a controlled and isolated way.

This library provides testing functionality with support for:

  • Docker container management and orchestration
  • Predefined test services (Flex Gateway, HTTP mocks, gRPC services)
  • Network port management and visibility control
  • Test composite builders for complex scenarios
  • Error handling for test failures and configuration issues

§Primary types

Re-exports§

pub use error::TestError;

Modules§

error
Test error handling
port
Docker network port management
services
PDK Integration Test Framework predefined services.

Structs§

TestComposite
Main test environment orchestrator for integration tests.
TestCompositeBuilder
Builder for configuring and creating test environments.

Attribute Macros§

pdk_test
Use this macro to annotate your test functions as PDK tests.