Skip to main content

generate-testcase

Analyze new commits and generate related test cases.

소스 정보

저장소
alibaba/neug
최근 소스 활동
2026년 9월 16일 02:31
감지된 SKILL.md 언어
영어
스타
168
포크
35

설치 방법

기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.

소스 파일 검토

설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.

SKILL.md 표시 중

SKILL.md
소스 지침 · 읽기 전용 미리보기
name
generate-testcase
description
Analyze new commits and generate related test cases.
disable-model-invocation
true
## User Input ```text $ARGUMENTS ``` You **MUST** consider the user input before proceeding (if not empty). ## Preparation 1. Find all commits after this branch is forked. 2. Compare two commits and extract all new files. 3. Locate the test directory. The test file should be saved in this directory. 4. Locate the spec directory, often `./specs/`. ## Generation 1. Think about some user scenarios (From basic usage with default setting, to different formats and parameters). These scenarios MUST related to the new feature. 2. Ask users to choose. Wait for users response. 3. For each user scenario, create a test function to confirm. 4. Build and run test cases. Fix problems until all test passed. ## Test 1. Check the installation test coverage packages, including `fastcov` and `lcov`. 2. Build and run test cases. Note to enable `ENABLE_GCOV` and `BUILD_TEST`. 3. Fix problems until all test passed. 4. Report and analyze the coverage result. Highlight files that the function coverage rate is not 100%.
GitHub에서 보기