I’m trying to run the unit test only on a specific plugin but I’m not having success with the database migrate. I already configured it in
phpunit.xml but it seems that it doesn’t recognize the defined env.
php vendor/bin/phpunit plugins/metastore/ecommerce and it seems that it is only identifying the env defined in the phpunit.xml of the root.
And the result was this:
I accessed the plugin folder and ran
php ../../../vendor/bin/phpunit and it identifies the plugin’s phpuni.xml env, however both attempts do not run migrate:
In this second form, from what I saw in xdebug, it doesn’t get past the
parent::setUp() and run