Skip to content

[NET-1341] update: Add before each and after each support for hooks#343

Open
muhammedrazalak wants to merge 3 commits into
developfrom
update/hooks
Open

[NET-1341] update: Add before each and after each support for hooks#343
muhammedrazalak wants to merge 3 commits into
developfrom
update/hooks

Conversation

@muhammedrazalak

@muhammedrazalak muhammedrazalak commented Jul 23, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Add before_each and after_each hooks to simulation lifecycle for common per-item setup/teardown across all scenarios.
  • Wire them into the existing flow so execution order is: before_allbefore_eachbefore → task → afterafter_eachafter_all.
  • Preserve failure semantics: before_each failures mark the item as prescript_failed and skip it; after_each failures are logged and do not affect status.

Comment thread netra/simulation/api.py
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants