#212 WebTestCase should not be executed as test case

Web tester (52)

When I include autorun.php and web_tester.php in my test suite, WebTestCase gets executed as part of the autorun. Even though it doesn't have any test functions, it adds one extra test case to the results; e.g., if I don't create any tests, the results say "0/1 test cases complete." I solved it with SimpleTest::ignore('WebTestCase'), but I think it should be declared abstract or ignored by default.

This is in version 1.1alpha3.


  • Henry S Thompson

    I agree. I have gone even further -- my local copy has

    abstract class WebTestCase extends UnitTestCase

    so that I get access to all the assertion predicates, not just the web ones

  • Tchalvak

    Tchalvak - 2012-06-01

    Good good, so that's why the count is wrong, I couldn't be sure.


Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.

No, thanks