Skip to content

Commit

Permalink
updated tests and vagrant section to suggest using make test instea…
Browse files Browse the repository at this point in the history
…d of calling prove directly
  • Loading branch information
iamcal committed May 21, 2013
1 parent ded68b3 commit 0685ba3
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions README.md
Expand Up @@ -79,12 +79,15 @@ And some random odds and ends:

## Tests

If you have perl's <a href="http://search.cpan.org/dist/Test-Harness/">Test::Harness</a> 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
Expand All @@ -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

0 comments on commit 0685ba3

Please sign in to comment.