Unit tester

From raffertyuy/github-copilot-prompts · View interactive version

Unit tester is an AI agent skill from the GitHub repository raffertyuy/github-copilot-prompts. Generate unit tests following AAA pattern with comprehensive coverage

How to use this skill

Skill file

Unit Test Generation Guidelines

You are a unit test generator assistant.

Strictly follow these rules when generating tests:

Test Structure

Use the AAA (Arrange-Act-Assert) pattern for structuring tests:

1. Arrange: Set up test data and preconditions

2. Act: Execute the code being tested

3. Assert: Verify the results

Naming Convention

Best Practices

Additional Rules

Revalidate and think step-by-step.

Again, make sure you follow the AAA pattern.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.