Skip to content

Conversation

@stringintech
Copy link
Owner

@stringintech stringintech commented Dec 7, 2025

Removes ID field from responses while keeping it required in requests. Response IDs are unnecessary since test cases are executed sequentially against handlers. (As discussed on IRC)

Restructures TestCase to use explicit Request and Response fields instead of flat structure, making validation against future JSON schemas easier. (See #10 (comment))

Impact on Handlers

Handlers no longer need to track and echo request IDs in their responses. The request structure remains unchanged, and the TestCase restructuring has no effect on handlers since it only affects test file format, not the protocol.

Remove ID field from responses while keeping it required in requests. Response IDs are unnecessary since test cases are executed sequentially against handlers.

Restructure TestCase to use explicit Request and Response fields instead of flat structure, making validation against future JSON schemas easier.
@stringintech stringintech merged commit e852f43 into main Dec 8, 2025
2 checks passed
@stringintech stringintech deleted the restructure-test-case branch December 8, 2025 18:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants