-
Notifications
You must be signed in to change notification settings - Fork 25
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
Discovering tests marked with attribute #20
Conversation
Fantastic, thanks. Could you include some example PHP tests that showcase what you've discussed? Would love to include them in the adapter. |
Ok, i'll try to add tests, but i need some time because i'm not familiar with lua and testing in lua |
Sorry to bother you, but i think i need some help I've got |
Oh sorry I meant add some example phpunit tests to the |
Done Please pay attention to my first commit, which changes regex |
The test: #[Test]
public function this_test_should_run()
{
$this->assertTrue(true);
} Doesn't run for me. It reads like it should |
I think there is a problem somewhere in phpunit output parser I'm sorry, i don't think i can handle this problem right now |
Happy for this to be picked up at a later point in time. |
Hello!
Just started working with this package and find that it does not find tests marked with attribute. I think this is important since marking with phpdoc is deprecatred by phpunit.
Here is my PR to support attribute marking.
It also contains commit, that fixes test dicovering by method name.
Phpunit documentation says that method name should start with 'test', but regex in query hits even if 'test' is in middle of method name.
Thank you!