Friday, 15 June 2012

Mark tests explicit in SpecFlow -



Mark tests explicit in SpecFlow -

is there way mark specflow test "explicit" attribute? aware test can marked "ignore" attribute via utilize of special tag @ignore.

maybe.

if @ generated xxx.feature.cs, see defined

public partial class xxx{...

so can add together file project xxx.partial.cs contains other part of partial definition.

and that's end of know, might able do.

in theory utilize partial class definition , modify it, create abstract. add together derived class override test in question, have new can't utilize virtual in xxx, , add together [explicit] there.

i have no thought if work. have sorts of issues abstract not taking, or test attributes disappearing on derived class, etc. maybe might going.

p.s. i'm not sure near practice. :-)

specflow

No comments:

Post a Comment