mob: Being able to trigger tests on `mob start`
I’d like to run (some) tests after successfull mob start, so that I can validate the current state of the code.
To enter solution-land I’d suggest adding a hook in the vein of MOB_NOTIFY_COMMAND.
To go further (another idea)
If that hook were present, I’d also use it to register the current source-project so that I could automatically call mob next upon closing the dialog I display with MOB_NOTIFY_COMMAND. I wouldn’t have to type mob next after closing the dialog.
About this issue
- Original URL
- State: open
- Created 2 years ago
- Comments: 15 (3 by maintainers)
Commits related to this issue
- Implementing #266 - Being able to trigger tests on mob start — committed to MrGung/mob by MrGung 2 years ago
Right - with hooks one could do anything.
I was thinking about another hook but now I think I’d use notify_command directly (display dialog, call
mob nexton close). Because - that’s a hook already. 😉Thanks for picking up the idea!
I’ve looked into it and started to implement
executeStartHook().Please assign me.
Tests don’t work on my machine, though - see issue #271.