tracks/php/exercises/grains/README.md in trackler-2.2.1.103 vs tracks/php/exercises/grains/README.md in trackler-2.2.1.104

- old
+ new

@@ -13,11 +13,10 @@ Write code that shows: - how many grains were on each square, and - the total number of grains - ## For bonus points Did you get the tests passing and the code clean? If you want to, these are some additional things you could try: @@ -25,19 +24,25 @@ - Optimize for readability. Then please share your thoughts in a comment on the submission. Did this experiment make the code better? Worse? Did you learn anything from it? -## Making the Test Suite Pass -1. Get [PHPUnit]. +## Running the tests +1. Go to the root of your PHP exercise directory, which is `<EXERCISM_WORKSPACE>/php`. + To find the Exercism workspace run + + % exercism debug | grep Workspace + +1. Get [PHPUnit] if you don't have it already. + % wget --no-check-certificate https://phar.phpunit.de/phpunit.phar % chmod +x phpunit.phar -2. Execute the tests for an assignment. +2. Execute the tests: - % phpunit.phar wordy/wordy_test.php + % ./phpunit.phar grains/grains_test.php [PHPUnit]: http://phpunit.de ## Source