TeaPie.Tool
0.0.1
dotnet tool install --global TeaPie.Tool --version 0.0.1
dotnet new tool-manifest # if you are setting up this repo dotnet tool install --local TeaPie.Tool --version 0.0.1
#tool dotnet:?package=TeaPie.Tool&version=0.0.1
nuke :add-package TeaPie.Tool --version 0.0.1
TeaPie - API Testing Framework
TeaPie is a lightweight API testing framework designed for automation-friendly, scriptable API testing with .http
files.
It provides pre-request scripting, post-response validation, retry strategies, authentication support, and custom test directives.
🚀 Features
✅ Scriptable API Tests – Define test cases using .http
files
✅ Pre-request & Post-response Scripts – Extend tests with C# scripts
✅ Custom Authentication Providers – Supports OAuth2 & user-defined providers
✅ Retry Strategies – Customize retry logic for API failures
✅ Environment & Initialization Scripts – Manage test variables easily
✅ Extensible & Open Source – Register custom test directives, reporters, and more
📦 Installation
Install via NuGet
To install TeaPie CLI, use the following command:
dotnet tool install -g TeaPie.Tool
To install the framework in your project:
dotnet add package TeaPie
⚡ Quick Start
Create a new test case:
teapie generate <test-case-name>
Run all test cases in a collection:
teapie test ./Tests
Execute a single test case:
teapie ./Tests/MyTestCase-req.http
For more usage details, visit the Wiki.
📖 Documentation
📚 Complete documentation is available in the Wiki.
🤝 Contributing
We welcome contributions! Please check out the Contribution Guide for details on how to get involved.
📝 License
TeaPie is licensed under the MIT License. See the LICENSE file for details.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. |
This package has no dependencies.
Version | Downloads | Last updated |
---|---|---|
0.0.1 | 51 | 3/11/2025 |