guard/guard — Issue #189: Orchestration different groups
Author: jedi4ever
Created: 2011-12-09 14:41:08+00:00
State: open

Hi I've read through the documentation I could find on hooks and I understand it you can have stuff executed as part of a hook.

The function I'm looking for is chaining Guard groups.

Let's say I have :
group 1: guard-rspec
group 2: guard-cucumber
group 3: provision server (based on guard-puppet)

I'd like the group3 ONLY to execute when group1 and group2 are working.

Will it be enough to disable run_all_tests_at_start and so group3 will only get executed if group1 and group2 pass?

A homebrew (not tested yet) solution could be:
- writing a end_run_all on group1 and group2 to write to a temporary file temp1
- and have group3 check this in start hook?

Or is there way to have different groups signal each other?

thanks for helping out and the great stuff you created!