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.
- 🔍 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
Note: provide-testkit is in pre-release (v0.x.x). APIs and features may change before 1.0 release.
- Install:
uv add provide-testkit - Read the Quick Start guide.
- Explore examples in examples/README.md.
# 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 commandsThis project uses wrknv for task automation. Run we tasks to see all available commands.
Common tasks:
we run test- Run all testswe run test.coverage- Run tests with coveragewe run test.parallel- Run tests in parallelwe run lint- Check code qualitywe run lint.fix- Auto-fix linting issueswe run format- Format codewe run typecheck- Run type checker
See CLAUDE.md for detailed development instructions and architecture information.
See CONTRIBUTING.md for contribution guidelines.
See LICENSE for license details.
Copyright (c) provide.io LLC.