Closed 3b closed 1 year ago
I think this is working as documented.
FOO depends-on FAIL, so when FAIL "fails", the test FOO is skipped as documented.
BAR does not depend on anything (parents fail if children fail, but children do not depend on their parent - it is bottom up, not top down), so when you are running the entire package, BAR is run.
Suppose FOO has three children: BAR1, BAR2 and BAR3.
FOO will fail if any of the children fail but we do not want to skip testing BAR2 or BAR3 if BAR1 fails.
So same idea with FOO depending on FAIL. We still want to know the results of test BAR.
I think I understand that you are asking for the ability of children to inherit parental dependencies. Am I getting that right?
Yes, that is what he's asking for, and I think it's a reasonable request.
with
running
(test 'foo)
runs testFAIL
, then skipsFOO
and its children.running
(test 'package)
runs testFAIL
then skipsFOO
but then runsBAR
separately even though its parent was skipped.