rectorphp / rector-phpunit

Rector upgrade rules for PHPUnit
http://getrector.com
MIT License
61 stars 47 forks source link

Rule to auto add covers annotation/attribute on test classes/methods #245

Closed aszenz closed 11 months ago

aszenz commented 11 months ago

Based on class/method name and test suffix

TomasVotruba commented 11 months ago

Hi, I don't think we have this. It seems like a great candidate for a custom rule :+1:

Here is how you can write it: https://getrector.com/documentation/custom-rule