tracks/php/config/exercise_readme.go.tmpl in trackler-2.2.1.103 vs tracks/php/config/exercise_readme.go.tmpl in trackler-2.2.1.104

- old
+ new

@@ -2,13 +2,29 @@ {{ .Spec.Description -}} {{- with .Hints }} {{ . }} {{ end }} -{{- with .TrackInsert }} -{{ . }} -{{ end }} -{{- with .Spec.Credits -}} + +## 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: + + % ./phpunit.phar {{ .Spec.Slug }}/{{ .Spec.Slug }}_test.php + +[PHPUnit]: http://phpunit.de + +{{ with .Spec.Credits }} ## Source {{ . }} {{ end }} ## Submitting Incomplete Solutions