Can I install it in an existing wp plugin setup? #33
-
I want to use it in an already existing wp plugin dev setup. I use localwp and a normal wp installation. Is it possible or can I only use this on plugins to be setup? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 7 replies
-
I think it could be used, but you'd need to see how You can check how the bootstrap file for plugin looks like in this lib: https://github.com/dingo-d/wp-pest/blob/main/templates/bootstrap-plugin.php.tmpl |
Beta Was this translation helpful? Give feedback.
I think I misunderstood you. I thought you meant using this with the WPCLI test scaffold command 🤦🏼♂️ Sorry, my bad.
I mean, it should work on any setup, as long as you initialize it correctly. From what I can see it is set up correctly.
Did you try running
vendor/bin/pest --group=unit
to run the tests?I haven't tested this with local by Flywheel so I'm not 100% sure what could be the issue.
It should work on mac with Laravel Valet, or any local setups that have terminal (WSL or linux with locally set up dev server).