Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a pause mechanism for the Blocks #139

Merged
merged 4 commits into from
Nov 14, 2024

Conversation

WeisLeDocto
Copy link
Member

As requested in #127, this PR adds a new pause feature to Crappy. This feature can be useful in situations when a running test needs to be temporarily suspended, for example for safely manipulating on the setup.

The base Block was modified so that the main() method does not call loop() when the Block is paused.
Also, a new Pause Block was added, to trigger a pause or resume a test based on a user defined set of conditions.
Finally, documentation was added about the new feature and Block.

closes #127

@WeisLeDocto WeisLeDocto added the feature request User requests a new feature to be implemented label Nov 14, 2024
@WeisLeDocto WeisLeDocto self-assigned this Nov 14, 2024
@WeisLeDocto WeisLeDocto merged commit 4ba9acd into develop Nov 14, 2024
16 checks passed
@WeisLeDocto WeisLeDocto deleted the feature/add_pause_mechanism branch November 14, 2024 22:31
@WeisLeDocto WeisLeDocto linked an issue Nov 14, 2024 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request User requests a new feature to be implemented
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Timer Block (not planned) and pause mechanism
1 participant