Write Tests

Write high-quality unit tests (Vitest) and E2E tests (Playwright) following senior test-engineering practices. Use this skill whenever asked to write tests, add test coverage, create test cases, fix failing tests, add missing assertions, test a new feature, write specs, or cover edge cases. Also trigger when the user says "write tests for", "add tests", "test this", "cover this", "needs tests", "add E2E test", "add unit test", "test coverage", or when reviewing code and noticing missing test coverage.

Sentry Updated 845 repo stars

File contents

getsentry/sentry-javascript/tree/main/.agents/skills/write-tests commit b9a898f3e3

Frequently asked questions

npx skillmds@latest add getsentry/write-tests