Open iandunn opened 6 years ago
Oh, is this because of the difference in installing via wp package
vs git clone ... composer install
?
If that's the case, then it'd probably be pretty easy to modify _manually_load_plugin()
to support both approaches.
I may just be doing something wrong, but it seems like I have to run the unit tests from the
~/.wp-cli/packages
folder, since_manually_load_plugin()
assumes that's the current folder. If I run it from thewp-hammer
folder, it fails:Running it from the
packages
folder works, but requires manually passing the config file (phpunit -c vendor/ivankruchkoff/wp-hammer/phpunit.xml
), instead of being able to just runphpunit
.It seems like the latter would be more convenient; is there a reason it's setup to use the former instead?