← ERP rendszer építők adatlapja
Nézd meg, miben segít
Folyamatszimulációs tesztadatok
Ellenőrzött mintával járja be a folyamatágakat, külön tartva a szimulált eredményt az éles végrehajtástól.
workflow-simulation-test-fixtures
Ezt a skillt használó csapattagok
Mikor hasznos?
Akkor használd, ha tesztelt folyamat üzenetet küldene vagy fizetős műveletet végezne.
Miben segít neked?
- Kifejezett szimulációs kezelővel helyettesíti a külső hatást.
- Kiválasztott lépéskimenetet rögzít ritka ágak vizsgálatához.
- Jelöli a szimulált futást, őszintén ellenőrzi korlátait.
Például ezt kérheted
Szimulálj jóváhagyást, elutasítást és szolgáltatói időtúllépést számlaküldés vagy terhelés nélkül. Szimulált szolgáltatói elfogadás után adj időtúllépést, majd léptess virtuális órát. Minden hatás legyen szimuláltként jelölve, valódi fizetési vagy számlahívás nélkül.
Részletes dokumentáció
Itt a skill eredeti útmutatóját, példáit és ellenőrzési szempontjait olvashatod az eredeti nyelven.
Összecsukás
Workflow Simulation & Test Fixtures
Use this skill when implementing workflow dry-run / test-run modes, step output mocking, interactive "Test this workflow" previews in the builder, and automated workflow test suites.
Strict Separation Between Simulation and Live Execution
- Never Trigger Unintended Live External Side Effects During Simulation:
- In
simulation/dry_runmode, external mutating steps (charging cards, sending customer emails/SMS, mutating production ERP/CRM records, firing live webhooks) must be intercepted by sandbox adapters or explicit step mocks unless the user has explicitly authorized a live test against a designated test credential.
- In
- Never Present a Simulated Run as a Real Production Run:
- Tag simulated runs unmistakably in the database and UI (
mode: 'simulation', distinct "Simulated test run" banner/badge, excluded from production business metrics and billing ledgers).
- Tag simulated runs unmistakably in the database and UI (
Step Pinning, Mock Fixtures & Branch Exploration
- Sample Input Payloads & Pinned Step Outputs:
- Allow users and automated tests to supply fixture trigger payloads and optionally pin/mock the output of specific steps (e.g., mocking an external HTTP step or AI step response) to test downstream conditions, joins, and error paths quickly and deterministically.
- Virtual Clock & Instant Wait Forwarding in Tests:
- In simulation and automated tests, advance durable timers (
Wait 3 days,Approval expires in 24h) via a controlled virtual clock or instant step-forward action rather than waiting on wall-clock time.
- In simulation and automated tests, advance durable timers (
- Fault-Injection Fixtures:
- Provide built-in simulation scenarios for step outcomes:
success,transient_error_then_succeed(testing retry backoff),permanent_error(testing failure/compensation branches),timeout, andapproval_rejected/approval_expired.
- Provide built-in simulation scenarios for step outcomes:
Checklist
- Does
simulation/dry_runmode block live external side effects (payments, external emails, live webhook mutations) by default? - Are simulated runs clearly badged as
simulationin the UI and excluded from production analytics and ledgers? - Can individual step outputs and failure modes (
timeout,error,rejected) be mocked to test every branch? - Can durable timers and approval expirations be fast-forwarded deterministically in simulation and test suites?
Csomagban lévő fájlok 1
SKILL.md
