-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Regression with multiple test case classes declared in a single sourcecode file #3881
Comments
@flow-control Could this be related to #3830? |
Simpler reproducing test case: <?php
use PHPUnit\Framework\TestCase;
abstract class AbstractTest extends TestCase
{
public function testOne(): void
{
$this->assertTrue(true);
}
}
final class Test extends AbstractTest
{
} |
Could be related, i'll have look at it. How are you calling phpunit and how is the filename? Is it |
According to |
@flow-control I have the code shown in #3881 (comment) in |
For the record, this is how I bisected this:
|
Thanks, i found the problem and i will create a PR in the next hours to solve this. Maybe i deleted a bit too much in 82e7076 ;-) |
Thank you for looking into this! |
Submitted a fix in PR #3882 |
But example from #3881 (comment) still not working |
I'll have a look |
@gleb-svitelskiy #3881 (comment) is a different issue that is tracked in #3879. |
I can confirm, that it fails, but with the exact same error message as described in #3879, so i assume this is going to be fixed in that Issue than.
|
@flow-control Exactly. |
While cleaning up the reproducing example from #3879, I ran into the following issue:
With PHPUnit 8.4.0 I get
With PHPUnit 8.3.5 I get
The text was updated successfully, but these errors were encountered: