Discovering tests marked with attribute#20
Discovering tests marked with attribute#20HalfBottleOfMind wants to merge 3 commits intoolimorris:mainfrom
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!