Elsa Add Unit Tests

Plan and add Elsa unit tests required by the constitution. Use when a feature class, service registration, logic-bearing implementation, failure path, infrastructure exception wrapper, or branch behavior is created or changed; also use implicitly after implementation work to check whether feature registration or implementation unit tests are required.

elsa-workflows Updated 7.9k repo stars
Elsa 4, a modern .NET workflow engine, illustrated with branching activity paths, a modular runtime and layered checkpoints

File contents

User Input

$ARGUMENTS

Outline

  1. Read docs/skills/catalog.md#add-feature-registration-tests and docs/skills/catalog.md#add-implementation-unit-tests.
  2. Read framework unit-test gates for feature registration and logic-bearing implementations.
  3. Identify whether the change needs registration tests, implementation tests, or both.
  4. Inspect nearby tests and existing test project references before proposing new test structure.
  5. Plan focused tests with stubbed dependencies, meaningful branch coverage, and exception-boundary coverage where applicable.
  6. If implementation was already approved and tests are direct follow-through, add the tests; otherwise return the plan first.

Do not use future integration tests as a substitute for required unit tests.

elsa-workflows/elsa-foundation commit 2b4f5259f4

Frequently asked questions

npx get-skill add elsa-workflows/elsa-add-unit-tests