test-process

Generate Camunda Spring Process integration tests for Zeebe BPMN process paths.

3|Updated Feb 6, 2025
One-click install
npx skills add https://github.com/emaarco/easy-zeebe --skill test-process
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: test-process
Source: https://github.com/emaarco/easy-zeebe/tree/main/.claude/skills/test-process
Command: npx skills add https://github.com/emaarco/easy-zeebe --skill test-process

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill automates the creation of integration tests for Zeebe BPMN processes, significantly reducing the manual effort required to ensure process logic correctness.

Core Features & Use Cases

  • Automated Test Generation: Creates @CamundaSpringProcessTest classes with individual @Test methods for selected process paths.
  • Path Analysis: Identifies and allows selection of happy paths, gateway branches, boundary events, and event subprocesses.
  • Update Mode: Supports appending new tests to existing test classes.
  • Use Case: When you've updated a Zeebe process for newsletter subscriptions, use this Skill to quickly generate new integration tests covering the happy path and any new error handling branches.

Quick Start

Use the test-process skill to generate integration tests for the newsletter subscription process.

Frequently Asked Questions about test-process

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate integration tests for Camunda Zeebe BPMN processes?

Generating integration tests for Zeebe BPMN processes involves creating `@CamundaSpringProcessTest` classes. This Skill automates that by analyzing process definitions and generating individual `@Test` methods for selected execution paths.

What is the best way to test Zeebe process gateway branches and boundary events?

The best way to test Zeebe process gateway branches and boundary events is to use automated path analysis. This identifies all testable paths, including happy paths, timers, and message events, allowing you to select specific branches for integration test generation.

Can I append new test methods to an existing Zeebe Spring process test class?

Yes, you can append new test methods to an existing Zeebe Spring process test class. An update mode allows you to add new tests for updated process logic directly into your current test classes without overwriting existing code.

How does automated test generation handle Zeebe timers and message events?

Automated test generation handles Zeebe timers and message events by analyzing them as distinct testable paths within the BPMN process. It then generates specific `@Test` methods to verify their integration logic and execution flow.

Do I need Camunda Spring to use this Zeebe process test generation?

Yes, you need Camunda Spring to use this Zeebe process test generation. The generated tests are formatted as `@CamundaSpringProcessTest` classes, which require the Camunda Spring framework to execute properly.