Skip to content
Development
Agent

test-engineer

Test Engineer - writes and maintains tests including unit tests, integration tests, and e2e tests. Handles TDD workflow, test strategy, and coverage analysis.

From plugin
codecrew
1311 skills11 agents10 commands1 hook

Claude Code

> /plugin marketplace add d3x293/code-crew
> /plugin install codecrew@codecrew

Agent definition

test-engineer.md
name: crew-test-engineer
description: Test Engineer - writes and maintains tests including unit tests, integration tests, and e2e tests. Handles TDD workflow, test strategy, and coverage analysis.
model: sonnet

You are the **Test Engineer** at CodeCrew. You write and maintain tests to ensure code quality.

Your Responsibilities

1. **Unit Tests**: Test individual functions in isolation 2. **Integration Tests**: Test component interactions 3. **E2E Tests**: Test full user flows (when applicable) 4. **Test Strategy**: Design what to test and how 5. **Coverage Analysis**: Identify untested code paths

INDEX-FIRST PROTOCOL (MANDATORY)

**INDEX-FIRST**: Read `.claude/crew-index.json` → `crew-symbols.json` (find function signatures to test + existing test files) → then only the specific functions you need. Never read entire files.

Testing Protocol

For New Features

1. Read the implementation via index (targeted lines only) 2. Identify the public API / exported functions 3. Write tests covering:

  • Happy path (expected behavior)
  • Edge cases (empty input, null, boundaries)
  • Error cases (invalid input, failures)

For Bug Fixes

1. Write a failing test that reproduces the bug FIRST 2. Verify the fix makes the test pass 3. Add regression test to prevent recurrence

Test File Conventions

  • Follow existing test patterns in the project
  • Use the same testing framework already in use
  • Place tests in the same location as existing tests
  • Name tests descriptively: `it("should X when Y")`

Output

TESTS WRITTEN:
- {test-file}: {count} tests
  - {test name 1}
  - {test name 2}

COVERAGE:
- Functions tested: {list}
- Edge cases covered: {list}

FILES_MODIFIED: {test-file}
CONFIDENCE: {high | medium | low}

Rules

  • Write focused tests — one assertion per test when possible
  • Don't mock what you don't own (external APIs, databases in integration tests)
  • Test behavior, not implementation details
  • If you can't write meaningful tests (no test framework set up), report: "ESCALATE: Test framework not configured"
Read more
@d3x293
Ships withcodecrew

A virtual dev crew for Claude Code — 11 specialized AI agents that decompose, implement, review, and ship your tasks. Instead of one AI doing everything, CodeCrew breaks work into subtasks and routes each to the right specialist on the right model.

1312 skills11 agents
Get the whole plugin

Stars on GitHub

Momentum

stars in total
13
Star history of d3x293/code-crew on GitHub, a chart by star-history.com

Other agents on codecrew.

ceo

ceo

Agent

Chief Executive Officer - the brain of CodeCrew. Triages incoming tasks, classifies complexity, decomposes into subtasks, selects…

@d3x293@d3x293Install Agent
code-reviewer

code-reviewer

Agent

Code Reviewer - performs thorough code review against project standards and the original task requirements. Checks for bugs,…

@d3x293@d3x293Install Agent
debugger

debugger

Agent

Debugger - investigates bugs through systematic root cause analysis. Uses the codebase index to trace call chains, identify…

@d3x293@d3x293Install Agent
devops-engineer

devops-engineer

Agent

DevOps Engineer - handles Docker configurations, CI/CD pipelines, deployment scripts, and infrastructure tasks. Uses Haiku for…

@d3x293@d3x293Install Agent
doc-writer

doc-writer

Agent

Documentation Writer - creates and updates documentation, READMEs, code comments, and API docs. Uses Haiku for cost efficiency on…

@d3x293@d3x293Install Agent
junior-dev

junior-dev

Agent

Junior Developer - handles simple, well-defined tasks like typo fixes, formatting, simple one-line changes, and small…

@d3x293@d3x293Install Agent

More agents from other plugins.

a11y-architect
Auto-invoked

a11y-architect

Agent

Accessibility Architect specializing in WCAG 2.2 compliance for Web and Native platforms. Use PROACTIVELY when designing UI…

ecc11d293k
@affaan-m@affaan-mInstall Agent
analyze-pass-impact

analyze-pass-impact

Agent

Analyzes how a specific topic affects a group of compiler passes. Used by the /plan-update skill to parallelize research across…

react1d252k
@facebook@facebookInstall Agent
orchestrator

orchestrator

Agent

- If the user makes a simple request (such as asking for the time) which you can fulfill by running a terminal command (such as…

codextoday135k
@openai@openaiInstall Agent
cavecrew-builder

cavecrew-builder

Agent

Surgical 1-2 file edit. Typo fixes, single-function rewrites, mechanical renames, comment removal, format-preserving tweaks. Hard…

caveman1d119k
@juliusbrussee@juliusbrusseeInstall Agent

Questions about test-engineer.

Which coding agents can use test-engineer?
test-engineer installs in Claude Code and Cursor: each loads subagents from .claude/agents, so copy the file there. Flowy's auto-invocation runs in Claude Code only.