Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions a2a-t-corpus/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -278,10 +278,10 @@ uv run pytest a2a-t-corpus/suites/task/test_task_t_from_text_workflow.py -m live
uv run pytest a2a-t-corpus/suites/task/test_task_t_from_data_workflow.py -m live --corpus-scenario=ran-energy-saving-create
```

**Run a given case id of a given scenario** (`--case-filter` is a case id, supports the `*` wildcard):
**Run a given text case id of a given scenario** (`--case-filter` is a case id, supports the `*` wildcard):

```
uv run pytest a2a-t-corpus/suites/task -m live --corpus-scenario=ran-energy-saving-create --case-filter=TC00000001
uv run pytest a2a-t-corpus/suites/task/test_task_t_from_text_workflow.py -m live --corpus-scenario=ran-energy-saving-create --case-filter=TC00000001
```

- A case's test id is `<scenario>/<case id>`; `-k` also reaches a single case directly.
Expand Down
30 changes: 15 additions & 15 deletions a2a-t-corpus/README_zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,19 +50,19 @@ a2a-t-corpus/
│ ├── input_case_from_text.json
│ └── input_case_from_data.json
├── negotiation/
├── test_negotiation_t_from_text_workflow.py 自然语言用例套件(propose / accept / reject / abort)
├── test_negotiation_t_from_data_workflow.py 结构化输入用例套件
├── test_negotiation_self_guard.py 结构自检(不调 LLM,进 CI)
└── resources/
├── ran-energy-saving-target-negotiation/ 目标协商
│ ├── input_case_from_text.json
│ └── input_case_from_data.json
├── ran-energy-saving-information-negotiation/ 信息协商
│ ├── input_case_from_text.json
│ └── input_case_from_data.json
└── ran-energy-saving-feasibility-negotiation/ 可行性协商
├── input_case_from_text.json
└── input_case_from_data.json
│ ├── test_negotiation_t_from_text_workflow.py 自然语言用例套件(propose / accept / reject / abort)
│ ├── test_negotiation_t_from_data_workflow.py 结构化输入用例套件
│ ├── test_negotiation_self_guard.py 结构自检(不调 LLM,进 CI)
│ └── resources/
│ ├── ran-energy-saving-target-negotiation/ 目标协商
│ │ ├── input_case_from_text.json
│ │ └── input_case_from_data.json
│ ├── ran-energy-saving-information-negotiation/ 信息协商
│ │ ├── input_case_from_text.json
│ │ └── input_case_from_data.json
│ └── ran-energy-saving-feasibility-negotiation/ 可行性协商
│ ├── input_case_from_text.json
│ └── input_case_from_data.json
└── notification/
├── test_notification_t_from_text_workflow.py 自然语言用例套件
├── test_notification_t_from_data_workflow.py 结构化输入用例套件
Expand Down Expand Up @@ -278,10 +278,10 @@ uv run pytest a2a-t-corpus/suites/task/test_task_t_from_text_workflow.py -m live
uv run pytest a2a-t-corpus/suites/task/test_task_t_from_data_workflow.py -m live --corpus-scenario=ran-energy-saving-create
```

**执行指定场景下指定用例编号的用例**(`--case-filter` 为用例编号,支持通配符 `*`):
**执行指定场景下 text 中指定用例编号的用例**(`--case-filter` 为用例编号,支持通配符 `*`):

```
uv run pytest a2a-t-corpus/suites/task -m live --corpus-scenario=ran-energy-saving-create --case-filter=TC00000001
uv run pytest a2a-t-corpus/suites/task/test_task_t_from_text_workflow.py -m live --corpus-scenario=ran-energy-saving-create --case-filter=TC00000001
```

- 用例的测试编号形如 `<场景名>/<用例编号>`,也可以用 `-k` 直接定位单条用例。
Expand Down
Loading