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: README.md
+22-8Lines changed: 22 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,11 +14,11 @@ The framework ensures that all language bindings (Go, Python, Rust, etc.) behave
14
14
## Architecture
15
15
16
16
```
17
-
┌─────────────┐ ┌──────────────────┐
18
-
│ Test Runner │────────▶│ Handler Binary │
19
-
│ (Go CLI) │ stdin │ (Go/Rust/etc) │
20
-
│ │◀────────│ │
21
-
└─────────────┘ stdout └──────────────────┘
17
+
┌─────────────┐ ┌───────────────────┐
18
+
│ Test Runner │────────▶│ Handler Binary** │
19
+
│ (Go CLI) │ stdin │ (Go/Rust/etc) │
20
+
│ │◀────────│ │
21
+
└─────────────┘ stdout └───────────────────┘
22
22
│ │
23
23
│ │
24
24
▼ ▼
@@ -35,19 +35,33 @@ The framework ensures that all language bindings (Go, Python, Rust, etc.) behave
35
35
3.[**Test Cases**](./testdata): JSON files defining requests and expected responses
36
36
4.[**Mock Handler**](./cmd/mock-handler/main.go): Validates the runner by echoing expected responses from test cases
37
37
38
-
**Handler binaries** are not hosted in this repository. They must be implemented separately following the [**Handler Specification**](./docs/handler-spec.md) and should:
38
+
****Handler binaries** are not hosted in this repository. They must be implemented separately following the [**Handler Specification**](./docs/handler-spec.md) and should:
39
39
- Implement the JSON protocol for communication with the test runner
40
40
- Call the binding API to execute operations
41
41
- Pin to a specific version/tag of this test repository
42
42
43
43
## Getting Started
44
44
45
-
Build and test against the mock handler:
45
+
### Testing Your Binding (Custom Handler)
46
+
47
+
Test your handler implementation using the test runner:
0 commit comments