You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .claude/skills/teapie/SKILL.md
+10-4Lines changed: 10 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,24 +1,30 @@
1
1
---
2
2
name: teapie
3
-
description: Comprehensive TeaPie framework expertise for API integration testing. Use when: (1) Working with TeaPie projects, API testing, .http files, C# test scripts (.csx), test collections, directives, variables, functions, authentication, retrying, (2) Creating and scaffolding test cases using `teapie generate`, renumbering tests, initializing TeaPie projects, (3) Running tests with `teapie test`, finding tests for API endpoints, debugging test failures, generating reports, (4) Analyzing .teapie folder structure, discovering custom functions/directives/auth providers registered in init.csx, understanding project-specific configurations, or (5) When users need guidance on TeaPie CLI commands, test structure, framework capabilities, or test organization.
3
+
description: Comprehensive TeaPie framework expertise for API integration testing. Use when: (1) Working with TeaPie projects, API testing, .http files, .tp files, C# test scripts (.csx), test collections, directives, variables, functions, authentication, retrying, (2) Creating and scaffolding test cases using `teapie generate`, renumbering tests, initializing TeaPie projects, (3) Running tests with `teapie test`, finding tests for API endpoints, debugging test failures, generating reports, (4) Analyzing .teapie folder structure, discovering custom functions/directives/auth providers registered in init.csx, understanding project-specific configurations, or (5) When users need guidance on TeaPie CLI commands, test structure, framework capabilities, or test organization.
4
4
---
5
5
6
6
# TeaPie Framework
7
7
8
8
## Overview
9
9
10
-
TeaPie (TEsting API Extension) is a lightweight CLI tool for API testing that combines `.http` files with C# scripts for comprehensive integration testing. This skill provides expert knowledge on all TeaPie capabilities, syntax, and best practices.
10
+
TeaPie (TEsting API Extension) is a lightweight CLI tool for API testing that combines `.http` files with C# scripts or uses `.tp` files that cover both types of files within one for comprehensive integration testing. This skill provides expert knowledge on all TeaPie capabilities, syntax, and best practices.
11
11
12
12
## Quick Reference
13
13
14
14
### Test Case Structure
15
15
16
-
Each test case consists of:
16
+
TeaPie supports two equivalent formats. Choose based on script complexity and structure preferences; both can coexist in the same collection.
17
+
18
+
**Multi-file format:**
17
19
18
20
-**`<name>-req.http`** (required) - HTTP request file (one or more requests)
19
21
-**`<name>-init.csx`** (optional) - Pre-request script for setup
20
22
-**`<name>-test.csx`** (optional) - Post-response script for validation
21
23
24
+
**Single-file format (`.tp`):**
25
+
26
+
-**`<name>.tp`** - All sections in one file using markers: `--- TESTCASE`, `--- INIT`, `--- HTTP`, `--- TEST`, `--- END`
27
+
22
28
### Naming Convention
23
29
24
30
Use zero-padded numeric prefixes for ordering:
@@ -55,7 +61,7 @@ teapie test [path] # Run tests (default command)
55
61
teapie generate <name> [-i] [-t] # Scaffold new test case
Copy file name to clipboardExpand all lines: README.md
+9-1Lines changed: 9 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,7 @@
6
6
7
7

8
8
9
-
TeaPie is a **lightweight API testing framework** designed for **automation-friendly, scriptable API testing** with `.http` files.
9
+
TeaPie is a **lightweight API testing framework** designed for **automation-friendly, scriptable API testing** with `.http`and `.tp`files.
10
10
It provides **pre-request scripting, post-response validation, retry strategies, flexible authentication, environments support and custom test directives**.
0 commit comments