diff options
Diffstat (limited to 'maintenance/tests/Makefile')
-rw-r--r-- | maintenance/tests/Makefile | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/maintenance/tests/Makefile b/maintenance/tests/Makefile new file mode 100644 index 00000000..b2c0fb71 --- /dev/null +++ b/maintenance/tests/Makefile @@ -0,0 +1,23 @@ +# See +# http://lists.wikimedia.org/pipermail/wikitech-l/2010-February/046657.html +# for why prove(1) is the default target and not phpunit(1) + +.PHONY: help test +all test: tap + +tap: + prove -e 'phpunit --tap' *Test*.php + +phpunit: + phpunit + +install: + pear channel-discover pear.phpunit.de + pear install phpunit/PHPUnit + +help: + # Options: + # test (default) Run the tests individually through Test::Harness's prove(1) + # phpunit Run all the tests with phpunit + # install Install PHPUnit from phpunit.de + # help You're looking at it! |