bytest-case

Query BITS test case details including mind map structure, steps, and expected results.

Updated Apr 30, 2026
One-click install
npx skills add https://github.com/yuezhen-huang/my-bytedance-skillhub --skill bytest-case-yuezhen-huang
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: bytest-case
Source: https://github.com/yuezhen-huang/my-bytedance-skillhub/tree/main/bytest-case
Command: npx skills add https://github.com/yuezhen-huang/my-bytedance-skillhub --skill bytest-case-yuezhen-huang

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Retrieving test case content from the BITS quality platform (bytest) normally requires manual navigation through the web UI. This Skill lets you programmatically fetch full test case details—including the complete mind map tree with test steps, expected results, and embedded images—using just a case ID or URL. ## Core Features & Use Cases - Test Case Detail Retrieval: Fetch full test case data via the get_case_detail action using test_case_id and product_id. - Mind Map Parsing: Access the nested TestCaseMind JSON tree containing node types for categories, case sets, test steps, and expected results, plus image URLs and priorities. - URL Parameter Extraction: Parse BITS case URLs (e.g., caseDetail/{test_case_id}?projectId={product_id}) to obtain query parameters directly. - Use Case: A QA engineer receives a BITS test case link in a bug report and needs the exact test steps and expected results to reproduce the issue—this Skill retrieves the full structured content and saves it to a session file. ## Quick Start Ask the agent to get the details of BITS test case 3782343 for product 66666866 and show the test steps and expected results.

Frequently Asked Questions about bytest-case

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I get BITS test case details by case ID?

Run the get_case_detail action with the test_case_id and product_id parameters via gdpa-cli. The result is saved as a JSON file in the session working directory, and the response includes a file_path field pointing to it.

How to extract test case parameters from a BITS URL?

BITS case URLs follow the format devops/{space_id}/quality/case/caseDetail/{test_case_id}?projectId={product_id}. The number after caseDetail is the test_case_id, and the projectId query parameter is the product_id.

What data does the BITS test case detail response include?

The response contains a TestCaseDetail object with the case title, sub-case count, status, and a TestCaseMind field. TestCaseMind is a nested JSON tree with node text, images, priorities, and node types for steps and expected results.

Do I need a session ID to query BITS test cases?

Yes, a session_id is currently required because results are written to the .gdpa/{session-id}/ directory. Create one with gdpa-cli create-session and reuse it across subsequent commands.

What do the mind map node types mean in test case data?

Node types classify each mind map node: 0 is a category or directory, 3 is a case set, 6 is a test step, and 13 is an expected result. Nodes may also include images, notes, priorities, and child nodes.