From b94a31cad245ebf0e16d3ff23922e1d2f9c69f24 Mon Sep 17 00:00:00 2001 From: Mark Jordan Date: Sun, 31 Mar 2019 22:08:22 +0000 Subject: [PATCH] Resolves #38. --- README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 836cc7a..628dea2 100644 --- a/README.md +++ b/README.md @@ -273,15 +273,15 @@ See [CONTRIBUTING.md](docs/CONTRIBUTING.md). Functional and unit tests, and addi ### Running tests -Riprap uses the PHPUnit Bridge component, which, while [recommended practice](https://symfony.com/doc/current/testing.html), is overly complex. To get this to install properly, you need to use Composer to first remove the PHPUnit Bridge component, and then reinstall it: +Riprap uses the PHPUnit Bridge component, which, while [recommended practice](https://symfony.com/doc/current/testing.html), is overly complex. To get this to install properly, you need to use Composer to first remove the PHPUnit Bridge component, and then reinstall it, as described in the Symfony documentation: -`composer remove symfony/phpunit-bridge` -`composer require symfony/phpunit-bridge` - -Reinstalling it installs PHPUnit and all of its dependencies. Once that is complete, from within the `riprap` directory, run: +1. `composer remove symfony/phpunit-bridge` +1. `composer require --dev symfony/phpunit-bridge` `./bin/phpunit` +Running this command after reinstalling PHPUnit Bridge installs PHPUnit and all of its dependencies, and then runs the Riprap tests. + ### Coding standards Riprap follows the [PSR2](https://www.php-fig.org/psr/psr-2/) coding standard. To check you code, from within the `riprap` directory, run: