Files
wp-strava/tests
Justin Foell 85e75c5bde (Re)add tests directory to PHPCS checks;
Fix formatting in tests
2019-03-01 12:28:31 -06:00
..
2018-11-09 13:45:37 -06:00

Unit Tests

While the main WP-Strava plugin code itself is PHP 5.2 compatible, you will need at least PHP 7.2 to run unit tests.

Installation

In the main plugin directory run the following commands from the terminal:

composer install

Running Tests

In the main plugin directory run the following commands from the terminal:

vendor/bin/phpunit