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