test-writer

автор: AgentsRoomПроверено AgentsRoomПока нет установокПока нет лайковОбновлено 7 мая 2026 г.Категория: Инженерия

Что он делает

Use when writing or updating tests. Picks the right matcher style for the project and avoids brittle assertions.

Установка открывает эту карточку в вашем десктопном приложении AgentsRoom. Если приложение ещё не установлено, вы попадёте на страницу загрузки.

SKILL.md

---
name: test-writer
description: Use when writing or updating tests. Picks the right matcher style for the project and avoids brittle assertions.
---

# Test writer

Detect the test framework in use (vitest, jest, playwright, ...). Match its idioms — don't introduce a new framework on a whim.

For unit tests:
1. One `describe` per public function, one `it` per scenario.
2. Avoid testing implementation details — assert on observable behaviour.
3. Use object-contains matchers instead of deep-equal when the object has fields you don't care about.
4. Mock at the boundary (HTTP, DB), not internal modules.

For integration tests, isolate the feature: don't share fixtures unless the test suite already does.

Теги

testingquality

Полезные материалы

Скачать AgentsRoom

Запускай всех своих ИИ-агентов во всех проектах из одного окна.

БесплатноСкачать AgentsRoom

Приложение-компаньон: следите за агентами на ходу

Используйте Claude, Codex, Antigravity CLI или другого поставщика AI.

Установить расширение
Chrome Web Store

Отправляйте баги и запросы прямо в ваш публичный бэклог.

Мульти-проекты
Мульти-провайдер
Мульти-агенты
Статус онлайн
Diff и коммиты
Мобильное приложение
Live-превью
Команды агентов
Тесты в браузере
Разработка от backlog
Библиотека промптов
Библиотека навыков
Все функции