You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I run the following spec file with shellspec -c . -F I see that both hooks run even though a single group has focus.
Is this intentional? Is there something I can or should do in my hooks to no-op outside of focus?
$ shellspec --version0.28.1
$ shellspec -c . -F** hook one **** hook two **Running: /bin/sh [sh].Finished in 0.08 seconds (user 0.05 seconds, sys 0.04 seconds)1 example, 0 failuresNotable examples: (Listed here do not affect your suite's status)shellspec hook_spec.sh:16 # -) outer inner2 <example:16-19>
# hook_spec.shhook_one() { echo'** hook one **'; }
hook_two() { echo'** hook two **'; }
Describe 'outer'
Describe 'inner1'
BeforeAll 'hook_one'
Specify
When call :
The status should be success
End
End
fDescribe 'inner2'
BeforeAll 'hook_two'
Specify
When call :
The status should be success
End
End
End
The text was updated successfully, but these errors were encountered:
When I run the following spec file with
shellspec -c . -F
I see that both hooks run even though a single group has focus.Is this intentional? Is there something I can or should do in my hooks to no-op outside of focus?
The text was updated successfully, but these errors were encountered: