Concept about non-mandatory tests

I just had a thought.  I know that we have the fail and skip option (and
pass and skip) but it is a problem for nested tests.  I might even know why
it is a problem.

But instead of adding weird flow control, what if we just dont "run" tests
that are should or may tests and they don't pass.  Just don't run the
assertion at all.  The code actually does the "test" of the assertion
before it calls the WPT "test" function.  We can just not call that
function at all if it is a SHOULD or MAY test and it doesn't match the
success criteria.  I think this would just result in "yellow" cells on the
report for options that are not supported.

What do people think?

-- 
Shane McCarron
Projects Manager, Spec-Ops

Received on Wednesday, 14 September 2016 15:28:51 UTC