Before All
Overview
The Before All Component initializes the test suite by sending signals to all test components in the flow, allowing them to reset their state before execution begins.
Usage
This component ensures that all test-related components are in a clean state before running a test workflow, preventing unexpected results due to lingering state data.
Input Ports
in
Receives the trigger signal to start the test workflow.
Output Ports
out
Emits a signal after all test components have acknowledged the reset.
Processing Logic
Receives Test Trigger: Captures the initial test signal.
Sends Reset Signal: Notifies all connected test components to reset their state.
Waits for Acknowledgment: Ensures all components respond before proceeding.
Outputs Start Signal: Once all components confirm reset, it emits a signal to start the test flow.
Notes
Ensures Clean Test Execution: Resets all test-related components before execution.
Prevents State Issues: Avoids leftover data affecting test results.
Works with Other Test Components: Required in workflows utilizing components like
AfterAll
orAssert
.
This component is essential for structuring test workflows by ensuring that every test begins in a predictable and controlled environment.
Last updated