-
Notifications
You must be signed in to change notification settings - Fork 757
Open
Description
We see the following structure:
target/copilot-sdk/test/snapshots/
├── ask-user
│ ├── should_handle_freeform_user_input_response.yaml
│ ├── should_invoke_user_input_handler_when_model_uses_ask_user_tool.yaml
│ └── should_receive_choices_in_user_input_request.yaml
├── ask_user
│ ├── handle_freeform_user_input_response.yaml
│ ├── invoke_user_input_handler_when_model_uses_ask_user_tool.yaml
│ └── receive_choices_in_user_input_request.yaml
├── askuser
│ ├── should_handle_freeform_user_input_response.yaml
│ ├── should_invoke_user_input_handler_when_model_uses_ask_user_tool.yaml
└── should_receive_choices_in_user_input_request.yaml
Asking Copilot, it says the following:
| SDK | Test File | Snapshot Folder |
|---|---|---|
| Node.js | ask-user.test.ts | ask-user/ |
| Python | test_ask_user.py | ask_user/ |
| Go | ask_user_test.go | ask_user/ |
| .NET | AskUserTests.cs (explicit: "ask-user") | ask-user/ |
The folder name is derived from the test file name:
- Node.js: File
ask-user.test.ts→ strips.test.ts→ask-user/ - Python: File
test_ask_user.py→ stripstest_prefix and.py→ask_user/ - Go: File
ask_user_test.go→ strips_test.go→ask_user/ - .NET: Explicitly passes
"ask-user"to the base class
The askuser/ folder (no separator) appears to be unused or legacy.
Copilot