원클릭으로
test-create
Generate test cases for code. Use when writing unit tests, integration tests, or verifying acceptance criteria.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Generate test cases for code. Use when writing unit tests, integration tests, or verifying acceptance criteria.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Commit code changes with well-structured messages following Conventional Commits. Use when ready to commit after implementation or bug fix.
Review code for quality, bugs, security, and improvements. Use when self-reviewing before commit, reviewing PRs, or debugging issues.
Create design documents for features or systems. Use when architecture planning, API design, or technical decisions are needed before implementation.
Record lessons learned and experiences for future reference. Use after solving bugs, discovering patterns, making decisions, or completing complex features.
Create distinctive, production-grade frontend interfaces. Use when building web components, pages, dashboards, React components, HTML/CSS layouts, or styling any web UI. Generates creative, polished code that avoids generic AI aesthetics.
Create structured requirement documents from user ideas. Use when capturing new features, tasks, or user stories that need documentation in requirement/INDEX.md.
| name | test-create |
| description | Generate test cases for code. Use when writing unit tests, integration tests, or verifying acceptance criteria. |
Generate comprehensive test cases for code.
| Category | Examples |
|---|---|
| ✅ Happy Path | Normal inputs, standard cases |
| 🔸 Edge Cases | Empty, boundary, min/max |
| ❌ Error Cases | Invalid inputs, failures |
import pytest
class TestFunction:
def test_valid_input_returns_expected(self):
assert function("valid") == "expected"
def test_empty_input_returns_empty(self):
assert function("") == ""
def test_invalid_raises_error(self):
with pytest.raises(ValueError):
function(None)
describe('function', () => {
it('returns expected for valid input', () => {
expect(fn('valid')).toBe('expected');
});
it('handles empty input', () => {
expect(fn('')).toBe('');
});
it('throws for invalid', () => {
expect(() => fn(null)).toThrow();
});
});
test_[what]_[condition]_[expected]
test_login_valid_credentials_returns_token
test_login_wrong_password_raises_error
| Type | Target |
|---|---|
| Business logic | 80%+ |
| Utilities | 90%+ |
| UI | 60%+ |