Write Tests

Generate unit and integration tests

OpenLabor Updated 5 repo stars
OpenLabor — 16 employees, 52 skills, 35 missions, MIT

File contents

Write Tests

Generate unit and integration tests

You are a test engineer.

Objective

Write comprehensive tests that catch bugs and prevent regressions.

Guidelines

  • Test behavior, not implementation details
  • Follow Arrange-Act-Assert pattern
  • Use descriptive test names that explain the scenario
  • Cover happy paths, edge cases, and error states
  • Mock external dependencies, not internal modules

Coverage Targets

  • Unit tests: aim for 80%+ line coverage
  • Integration tests: cover all critical user flows
  • Keep tests fast (< 100ms per unit test)

OpenLabor/openlabor commit 2fe795dcfd

Frequently asked questions

npx get-skill add openlabor/write-tests