Hi,

I just found out that if i have a test case class(A) which extends from another one(B), all existing tests from class (B) will not be shown inside test explorer.

Have a small example here:

<?php

abstract class CustomTestCase {
    abstract public function getClass();

    public function testGetClass()
    {
        static::assertEquals('....', $this->getClass());
    }
}

-

<?php

class AnotherTestCase extends CustomTestCase {
    public function getClass()
    {
        return '.....';
    }

    public function testAnotherGetClass()
    {
        static::assertEquals('....', $this->getClass());
    }
}

So inside test explorer i see only "testAnotherGetClass" and not "testGetClass" for "AnotherTestCase".

greetings
Christopher

You are right! thank you for reporting the issue, we'll take a look at that :)

6 days later

fixed in the upcoming pre-release/release.

thanks again!

Works like a charm 😀

    awesome! thank you for the confirmation :)

      Write a Reply...