Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

unit-tester

БесплатноБез исполняемых скриптовНе проверен

Generate unit tests following AAA pattern with comprehensive coverage

raffertyuyот raffertyuy★ 43 звезды на GitHub

Об этом скилле

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

  • Name tests as should_ExpectedBehavior_When_StateUnderTest
  • Use clear, descriptive names that document the test's purpose

Best Practices

  • Test one thing per test
  • Use meaningful test data
  • Handle expected exceptions
  • Add comments explaining complex test scenarios
  • Add docstrings to test functions
  • Add negative tests
  • Add edge cases

Additional Rules

Revalidate and think step-by-step. Again, make sure you follow the AAA pattern.

Установить unit-tester в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл unit-tester?

Generate unit tests following AAA pattern with comprehensive coverage

Как установить скилл unit-tester?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл unit-tester запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить unit-tester с