Skip to main content

Workflow API Testing

Summary

One API-level Workflow smoke script exists and is referenced by the regression runner. No Workflow API unit or isolated integration-test project was found.

Testing architecture

Covered behavior

The script exercises the principal happy paths, decision conflicts, worklist assignment and operational feeds against a running service and persistence.

Missing coverage

No verified tests cover anonymous access risk, tenant separation, malformed bodies, route binding, conditions, parallel stages, authorization, concurrency, outbox isolation, Gateway routing or generated OpenAPI.

Recommended work includes endpoint-contract tests, security/tenant matrices, failure cases, concurrency and OpenAPI snapshots. These are recommendations, not implemented coverage.

Requires Confirmation

CI execution, test data ownership, security acceptance criteria and coverage thresholds require confirmation.

Source References

  • microservices/scripts/smoke-workflow.ps1
  • microservices/scripts/run-v1-regression.ps1
  • microservices/src/workflow-service/Api/WorkflowEndpoints.cs

See Also

Keywords

Workflow API, approval endpoint, Workflow Service.

Revision Information

  • Status: Draft
  • Last reviewed: 2026-07-20
  • Next review: 2026-10-20