-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Add a priority for hooks #5889
Copy link
Copy link
Closed
Labels
feature/test-runnerCLI test runnerCLI test runnertype/enhancementA new idea that should be implementedA new idea that should be implemented
Metadata
Metadata
Assignees
Labels
feature/test-runnerCLI test runnerCLI test runnertype/enhancementA new idea that should be implementedA new idea that should be implemented
Hello,
would you accept a PR which would add a concept of "priority" between hooks like
Before,After...?This would allow to control the order of execution of these hooks, mainly useful when used along with traits:
priorityshould be any integer (even negative ones), and it would default to0.thanks for your answer on this.