I’ve fixed the bug preventing a clean bootstrap experience using the
wpcept wpbootstrap command that comes with the WP Browser Codeception add-on and pushed the modification to the package master branch on GitHub.
Command argument modification
While I was there I’ve also decided to modify the command needed to bootstrap the tests in a test pyramid fashion to make things clearer: the
wpcept command supplies methods specific to WordPress testing and adopting the aforementioned test organization is a personal taste unrelated to WordPress. As such I’ve replaced the command
So now running the command
will bootstrap the test suites like
while using the command
will bootstrap the test suites the “alternative” way:
UIHelpermodules It’s nothing more but a name change but I felt like it was needed.
The possibility to bootstrap suites the default Codeception way remains using the