johnbillion / user-switching

WordPress plugin that provides instant switching between user accounts.
https://wordpress.org/plugins/user-switching/
GNU General Public License v2.0
187 stars 49 forks source link

Switch to WPBrowser for functional testing #84

Closed johnbillion closed 2 years ago

johnbillion commented 2 years ago

This switches us over from WordHat to WPBrowser for the functional tests so all the tests use the same framework.

I really like the BDD structure of Gherkin tests but they're difficult to write and debug. Codeception does support Gherkin but I don't want to spend time writing a large number of step definitions, especially as none are provided for all the functionality in WPBrowser, so it's time to say goodbye to the Gherkin format and switch to standard Codeception acceptance and functional tests.