From 0685ba3ff7d8c1f85e7fd9f62894bfd518a40746 Mon Sep 17 00:00:00 2001 From: Cal Henderson Date: Tue, 21 May 2013 10:33:58 -0700 Subject: [PATCH] updated tests and vagrant section to suggest using `make test` instead of calling prove directly --- README.md | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 7a3fbc6..039f911 100644 --- a/README.md +++ b/README.md @@ -79,12 +79,15 @@ And some random odds and ends: ## Tests -If you have perl's Test::Harness installed (you almost certainly do), -you can run the tests using: +If you have `make` and and recent `perl` installed (you almost certainly do), you can run the tests using: - prove --exec 'php' tests/*.t + make test -Test coverage is in great need of improving. +If you also have `xdebug` and `PHP_CodeCoverage` installed, you can generate test coverage information: + + make cover + +Test coverage needs some serious improvement. ## Vagrant @@ -94,4 +97,4 @@ If you don't want to mess with your local development environment, you can run t vagrant up vagrant ssh cd /vagrant - prove -v --exec 'php --php-ini ./tests/php.ini' ./tests/*.t + make test