You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have some abstract classes in my tests, as a test hierarchy. The idea is that several different implementations of a thing all use the same tests in the base class, just providing an alternate implementation. I had the abstract base classes named FooTest, with child classes FooTypeATest, FooTypeBTest, etc. This worked fine in PHPUnit 9.
In 10.3, it still runs but I get a warning that the class is abstract. Which... yes, it is, but why would PHPUnit 9 rightly just ignore it, while PHPUnit 10 is giving me a warning? Is this deliberate?
The text was updated successfully, but these errors were encountered:
Summary
I have some abstract classes in my tests, as a test hierarchy. The idea is that several different implementations of a thing all use the same tests in the base class, just providing an alternate implementation. I had the abstract base classes named
FooTest
, with child classesFooTypeATest
,FooTypeBTest
, etc. This worked fine in PHPUnit 9.In 10.3, it still runs but I get a warning that the class is abstract. Which... yes, it is, but why would PHPUnit 9 rightly just ignore it, while PHPUnit 10 is giving me a warning? Is this deliberate?
The text was updated successfully, but these errors were encountered: