KBEC-00130 - NUnit postp Matcher

NUnit Matcher

push (@::gMatchers,
  {
        id =>               "nunitSummary",
        pattern =>          q{^\s*Tests run: (\d+), }
                                    . q{Failures: (\d+), Not run: (\d+),},
        action =>           q{incValue("tests", $1);
                                    if ($2 > 0) {
                                        incValue("errors", $2);
                                        diagnostic("", "error");
                                    }},
  },
);

Have more questions?

0 Comments

Please sign in to leave a comment.