Closed crstauf closed 2 years ago
Your individual plugin needs to be scaffolded to run unit tests.
It has already: bin/install-wp-tests.sh
exists, but I was under the impression that this script does everything and is a replacement for install-wp-tests.sh
, thus my question: does it need to be run?
You shouldn't need to run it. It should all be in the script.
Understood. Does a write permissions issue seem likely in that case?
It's possible. That's usually supposed to be the /tmp directory.
I think you do need to run install-wp-tests.php
. I think it's usually run from the bootstrap file.
@afragen Where can I find install-wp-tests.php
, and what's the bootstrap file?
I'm not certain what changed, but it's working now. ¯\(ツ)/¯
Thanks for your help, @afragen! :cookie:
After running
bash setup-phpunit.sh
and navigating to plugin with unit tests:Does
install-wp-tests.sh
need to be run?