Test Suite for Admin Page Framework
In order to run the tests, configure the setting file (
settings.cfg) and run the installer and the executor scripts.
- PHP 5.4 or above - Codeception v2+ requires this version.
- MySQL - the
mysqlcommand needs to be available.
- MySQLAdmin - the
mysqladmincommand needs to be available.
- SVN - the
svncommand needs to be available.
settings.cfg. Edit the file and set up necessary paths, database user name password, and host, plugin slug, test site location etc.
install.shby typing the following command in a console program.
Run the test by typing the following.
When tests are done, to uninstall the test site and the database, run the uninstaller script by typing the following.
.sh files on Windows, you need a Bash emulator. Here is one.