I am a bit puzzled at the setup of this suite.
First what exactly is the prefix that your plugin uses in the database?
The installation recognized I have tests directory (since I'm on VVV), but then it symlinked the plugin to the tests directory and I got
ln: /Users/infinum-denis/vagrant-local/www/wordpress-develop/src/wp-content/plugins/my-plugin: No such file or directory
Because my plugin is located in a directory where I am building it (not the test one).
Also, how come phpunit isn't set as a dependency? Because I can see it's not installed in the vendor folder, and I am getting
zsh: command not found: phpunit
Thanks!
EDIT:
Once I installed phpunt (6.5) and ran vendor/bin/phpunit I get error on the require_once in the bootstrap.php because the path of the plugin is wrong (test assumes it's in the test folder, and it's not).
Is the workaround for this to just put it in the test folder or?
I am a bit puzzled at the setup of this suite.
First what exactly is
the prefix that your plugin uses in the database?The installation recognized I have tests directory (since I'm on VVV), but then it symlinked the plugin to the tests directory and I got
Because my plugin is located in a directory where I am building it (not the test one).
Also, how come
phpunitisn't set as a dependency? Because I can see it's not installed in thevendorfolder, and I am gettingzsh: command not found: phpunitThanks!
EDIT:
Once I installed phpunt (6.5) and ran
vendor/bin/phpunitI get error on therequire_oncein thebootstrap.phpbecause the path of the plugin is wrong (test assumes it's in the test folder, and it's not).Is the workaround for this to just put it in the test folder or?