Skip to main content

Testing utilities and fixtures for the provide ecosystem.

Project description

🧪✅ Provide TestKit

License Python 3.11+ uv Ruff CI

Comprehensive testing utilities and fixtures for the provide ecosystem

TestKit provides a unified testing framework designed specifically for applications built with provide-foundation. It offers intelligent context detection, extensive fixture libraries, and seamless integration with popular testing frameworks.

✨ Key Features

  • 🔍 Smart Context Detection - Automatically detects testing environments
  • 🏗️ Foundation Integration - Native support for provide-foundation components
  • 🧪 Comprehensive Fixtures - Pre-built fixtures for common testing scenarios
  • 🚀 CLI Testing Support - Advanced utilities for testing Click-based applications
  • 🔐 Crypto Testing - Certificate and key generation utilities
  • 🌐 Transport Mocking - HTTP, WebSocket, and network testing tools
  • 📁 File System Utilities - Temporary files, directories, and archive testing
  • Async Support - Full async/await testing capabilities
  • 🧵 Thread Safety Testing - Multi-threading test utilities

Quick Start

Note: provide-testkit is in pre-release (v0.x.x). APIs and features may change before 1.0 release.

  1. Install: uv add provide-testkit
  2. Read the Quick Start guide.
  3. Explore examples in examples/README.md.

Documentation

Development

Quick Start

# Set up environment
uv sync

# Run common tasks
we run test       # Run tests
we run lint       # Check code
we run format     # Format code
we tasks          # See all available commands

Available Commands

This project uses wrknv for task automation. Run we tasks to see all available commands.

Common tasks:

  • we run test - Run all tests
  • we run test.coverage - Run tests with coverage
  • we run test.parallel - Run tests in parallel
  • we run lint - Check code quality
  • we run lint.fix - Auto-fix linting issues
  • we run format - Format code
  • we run typecheck - Run type checker

See CLAUDE.md for detailed development instructions and architecture information.

Contributing

See CONTRIBUTING.md for contribution guidelines.

License

See LICENSE for license details.

Copyright (c) provide.io LLC.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

provide_testkit-0.3.31.tar.gz (133.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

provide_testkit-0.3.31-py3-none-any.whl (183.0 kB view details)

Uploaded Python 3

File details

Details for the file provide_testkit-0.3.31.tar.gz.

File metadata

  • Download URL: provide_testkit-0.3.31.tar.gz
  • Upload date:
  • Size: 133.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for provide_testkit-0.3.31.tar.gz
Algorithm Hash digest
SHA256 44468d980f3bc61ad1ab3183c8d1fa988ae0313c4ed49e443becec6dee22547b
MD5 4c20dd770b432949221c6b123aa8dc22
BLAKE2b-256 cac31a51a7f2e3f7a8231e4a2c4eab328e8774588a2d11ce0b226be8a797c62d

See more details on using hashes here.

Provenance

The following attestation bundles were made for provide_testkit-0.3.31.tar.gz:

Publisher: release.yml on provide-io/provide-testkit

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file provide_testkit-0.3.31-py3-none-any.whl.

File metadata

File hashes

Hashes for provide_testkit-0.3.31-py3-none-any.whl
Algorithm Hash digest
SHA256 40e8d1cc82f1ce39ec73e950672103d3516fbe4ef360d1321f05e90fd6e8e5ab
MD5 3fba0b09c6645501e3fd1930f7868af5
BLAKE2b-256 37d178fb68e44821adf642da2d7b06f27c1a9866d689fe126d6abb5aa185b0d7

See more details on using hashes here.

Provenance

The following attestation bundles were made for provide_testkit-0.3.31-py3-none-any.whl:

Publisher: release.yml on provide-io/provide-testkit

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page