Annotations are the answer.
/** @test */
public function it_tests_something()
{
...
}
Adding that @test tells phpunit to treat the function as a test, regardless of the name.
Annotations are the answer.
/** @test */
public function it_tests_something()
{
...
}
Adding that @test tells phpunit to treat the function as a test, regardless of the name.