Skip to content

Mirror unittest suite with pytest equivalents#23

Open
MichaelDecent wants to merge 7 commits into
tigrbl:masterfrom
MichaelDecent:pytest-mirror
Open

Mirror unittest suite with pytest equivalents#23
MichaelDecent wants to merge 7 commits into
tigrbl:masterfrom
MichaelDecent:pytest-mirror

Conversation

@MichaelDecent
Copy link
Copy Markdown

No description provided.

- Added `pytest-asyncio` to development dependencies for async testing support.
- Introduced new test files covering various aspects of HTTP/1.1, HTTP/2, and HTTP/3 CONNECT tunneling, including bidirectional data relay and chunked request handling.
- Enhanced existing tests for websocket frames and compression handling.
- Implemented configuration validation tests for TCP and UDP listeners with SSL settings.
- Added tests for QUIC session management and TLS handshake processes.
- Introduced new test files for aioquic adapter, certification environment, connect tunnel, and content coding policy.
- Implemented tests for environment flag handling, QUIC session management, and HTTP CONNECT tunneling.
- Validated content coding policies and ensured proper handling of unsupported encodings.
- Enhanced existing tests for certification environment snapshots and workflows.
- Ensured bidirectional data relay functionality for both HTTP/2 and HTTP/3 connections.
- Introduced tests for optional dependencies in pyproject.toml, ensuring correct declarations and references.
- Validated documentation alignment with declared optional dependencies across various files.
- Implemented checks for error hints related to missing optional dependencies and their corresponding documentation.
- Enhanced tests for current state chain and archival current aliases, ensuring proper labeling and normalization.
- Added tests for external current and independent peer release matrices, verifying expected scenarios and artifact integrity.
- Introduced tests for loading external matrices, validating scenario dimensions, and ensuring proper error handling for independent certification.
- Added tests for flow scheduler components, including task dispatching, cancellation helpers, and timeout policies.
- Implemented validation for backpressure, watermarks, credits, keepalive, and quotas functionalities.
- Introduced new test files for HTTP content coding, integrity caching signatures, and request stream state machine.
- Implemented tests for gzip negotiation across HTTP/1.1, HTTP/2, and HTTP/3.
- Validated handling of various request formats, including absolute and asterisk forms.
- Enhanced tests for HTTP/2 server push functionality and state machine transitions.
- Added tests for WebSocket integration over HTTP/2 and error handling in HTTP/3 streams.
- Introduced a new test file for validating x509 certificate handling and revocation processes.
- Implemented a mock HTTP server to simulate revocation requests and responses.
- Added tests for creating CA and server leaf certificates with various attributes and constraints.
- Enhanced the test suite to cover different scenarios for certificate validation and revocation checks.
- Introduced new test files for HTTP content coding, WebSocket integration, and state machine transitions.
- Implemented tests for gzip negotiation across HTTP versions.
- Enhanced tests for handling various request formats and error scenarios in HTTP/3 streams.
- Added a GitHub Actions workflow for running the pytest suite on push and pull request events.
@MichaelDecent MichaelDecent marked this pull request as ready for review April 5, 2026 15:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant