You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Has anyone some experiences with plugin-dependent tests and Travis CI?
xwp_filter_active_plugins_for_phpunit() has support for a WP_TEST_ACTIVATED_PLUGINS constant which looks fine, but I'm more interested on how to get the plugin installed during the build.
Has anyone some experiences with plugin-dependent tests and Travis CI?
xwp_filter_active_plugins_for_phpunit()has support for aWP_TEST_ACTIVATED_PLUGINSconstant which looks fine, but I'm more interested on how to get the plugin installed during the build.The
installaction is too early because the test suite gets installed onscriptviarun_phpunit_travisci(). But I can't add something before or after because WP is installed on-the-fly, see https://github.com/xwp/wp-dev-lib/blob/master/check-diff.sh#L584.So, what I need is something which gets called after WP is installed but before phpunit is executed.
Idea: Define a function
after_wp_installin.dev-liband incheck-diff.shdoThoughts?