Create a composer.json in your project root.
{
"require": {
"megumi/wp-custom-login": "*"
}
}
Clone this project.
$ git clone [email protected]:megumi-wp-composer/wp-custom-login.git
Initialize the testing environment locally:
(you'll need to already have mysql, svn and wget available)
$ bash bin/install-wp-tests.sh wordpress_test root '' localhost latest
Install phpunit.
$ composer install
The unit test files are in the tests/
directory.
To run the unit tests, just execute:
$ phpunit
https://github.com/megumi-wp-composer/wp-custom-login/issues