Loading...
Loading...
Có MỘT file test case đầy đủ (.xlsx nhiều sheet, cột Test Case ID/Description/Steps/Expected/Priority/Type) → bóc thành JSON, phân loại tất định ui|calc|perf|security|gap, sinh PLAN theo LÔ, chạy qua orca-graph trên phiên trình duyệt ĐÃ đăng nhập của user (claude-in-chrome), ghi PASS/FAIL/BLOCK + ảnh từng TC, xuất mỗi lô một report .xlsx tester-kit (tao_report_test). Gọi khi user nói "chạy bộ test case này", "file test case xlsx", "SIT/UAT theo file", "xuất report tester-kit", "/tc-run".
npx skill4agent add rheinmir/setup tc-runharness/scripts/tc-xlsx.py/orca-graphtester-kittao_report_test/uat-nonit-testcasexlsx → tcs.json (extract) → nhãn ui|calc|perf|security|gap (classify) → PLAN theo lô → orca-graph (t1 hitl đăng nhập → các lô song song → report) → results/<lô>.json + shots/<id>.png → report-<lô>.xlsx → summary.md| Field | Required? | Ý nghĩa | |
|---|---|---|---|
| In | file test case .xlsx | có | nhiều sheet, cột Test Case ID/Description/Steps/Expected/Priority/Type |
| In | URL app + phiên đăng nhập | có | user tự đăng nhập trong tab claude-in-chrome (HITL) |
| In | dữ liệu đầu vào calc | không | persona/kỳ lương do user chuẩn bị; thiếu thì TC |
| Out | | có | số |
| Out | PLAN.md + graph | có | lô ≤ 8 TC, graph ≤ 20 node |
| Out | | có | PASS/FAIL/BLOCK + actual + evidence từng TC |
| Out | | có | report tester-kit mỗi lô; tổng hợp theo lô |
calcsecurityperfprioritydescriptioncalcgap| Step | Type | Inputs | Action | Outputs/exit | Failure/next |
|---|---|---|---|---|---|
| W01 | deterministic | file .xlsx | Bóc + phân loại ( | | heuristic sai → sửa nhãn |
| W02 | deterministic | | Sinh PLAN theo lô rồi dựng graph ( | PLAN + graph | build lỗi → sửa PLAN rồi lặp |
| W03 | effect | URL app | Phiên đăng nhập HITL, ghi | đã login | thấy login/SSO → dừng nhờ user |
| W04 | effect | lô | Chạy từng lô: lock → dispatched → làm → set done, chụp ảnh, so Expected | | ghi dữ liệu thật → BLOCK TC đó |
| W05 | effect | results | Report mỗi lô qua | | — |
| W06 | deterministic | graph | Theo dõi tiến độ trên cockpit, | tiến độ | — |
python3 harness/scripts/tc-xlsx.py extract <file.xlsx> -o scratchpad/<tên>/tcs.json
python3 harness/scripts/tc-xlsx.py classify scratchpad/<tên>/tcs.jsonuicalcperfsecuritygapautopython3 harness/scripts/tc-xlsx.py plan tcs.json --app "<tên app (URL)>" --batch 8 --only ui -o llmwiki/wiki/sources/draft/DDMMYY-<tên>-PLAN.md
python3 harness/scripts/orca-graph.py build <PLAN> --strict && orca-graph.py ask <id> parallelhitlverifyapp.jsonlogged_in: trueset t1 done_user_reportedlockdispatchedset donefindcomputerread_pageshots/<id>.pngPASS|FAIL|BLOCKactualevidenceresults/<lô>.jsontc-xlsx.py report results/<lô>.json --tcs tcs.json --url <URL>tao_report_testreport-<lô>.xlsxsummary.mdcontrol-room.htmlaudit| ID | Kind | Guard | Hành vi | Skip / failure | Rejoin |
|---|---|---|---|---|---|
| B01 | recovery | heuristic classify gán nhãn sai | sửa nhãn | — | W02 |
| B02 | conditional_required | file > ~150 TC ui (vượt 20 node) | chia nhiều PLAN (graph mẹ → con) | — | W03 |
| B03 | user_optional | user cho phép rõ ghi dữ liệu thật | chạy cả bước Lưu/Xoá/Cập nhật | không cho phép → BLOCK "cần môi trường SIT riêng" | W04 |
| B04 | conditional_required | có TC | chạy TC calc, kiểm số | thiếu dữ liệu → không chạy, ghi summary | W05 |
verifysummary.mduiplan --batch 8 --only uishots/<id>.pngresults/<lô>.jsonreport-<lô>.xlsxsummary.md/tc-runtc-xlsx.py extract/classifytao_report_testclassify