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.4.0.tar.gz (134.1 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.4.0-py3-none-any.whl (183.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: provide_testkit-0.4.0.tar.gz
  • Upload date:
  • Size: 134.1 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.4.0.tar.gz
Algorithm Hash digest
SHA256 020d109e74997ef8dd73f1a54397f8ae51c0ebc6d62f5841ab842dca1bf5364c
MD5 9514602a332a535aba199a4c9433ca73
BLAKE2b-256 be4ebea7ab0635d111a841f0710344be50fedf617d3ed73a331270eb18178c05

See more details on using hashes here.

Provenance

The following attestation bundles were made for provide_testkit-0.4.0.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.4.0-py3-none-any.whl.

File metadata

  • Download URL: provide_testkit-0.4.0-py3-none-any.whl
  • Upload date:
  • Size: 183.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for provide_testkit-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 acf431696f9e697f277a7b0d141f08348ec5de215e13616bb4c9ce030b7fb338
MD5 38b769fafe8d861e77f0c13b95a0eaca
BLAKE2b-256 995773ed450a8beefffcc6b9afd0dd7dd4986a78c2a778e37fb258a99f4274f2

See more details on using hashes here.

Provenance

The following attestation bundles were made for provide_testkit-0.4.0-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