olimorris / neotest-phpunit

🧪 Neotest adapter for PHPUnit
MIT License
29 stars 22 forks source link

Make phpunit binary path configurable #7

Closed TheFox666 closed 2 years ago

TheFox666 commented 2 years ago

Hello,

as i can see the path to the binary of phpunit seems to be hardcoded in init.lua file. Correct me if i am wrong :) I would wish that i can define the path to the executable in the setup section of the plugin.

Can you hint me how i can change the path in the meantime?

olimorris commented 2 years ago

Hi @TheFox666. You're absolutely right, it's hard coded right now. Happy to accept a pull request to make it configurable. I note that some of the other Neotest adapters have a configurable test runner path.