From e90e0779f3ccdc18c9143c0cf73adc53c5dc10dc Mon Sep 17 00:00:00 2001 From: Bernhard Posselt Date: Tue, 7 May 2013 18:01:28 +0200 Subject: make it easier to run js tests --- Makefile | 16 ++++++++++------ README.rst | 15 ++++++++------- 2 files changed, 18 insertions(+), 13 deletions(-) diff --git a/Makefile b/Makefile index 14cf6b3fb..1cffbeba5 100644 --- a/Makefile +++ b/Makefile @@ -36,17 +36,21 @@ dist: clean git archive HEAD --format=zip --prefix=$(app_name)/ > $(package_name).zip -test: unit integration acceptance +# tests +test: javascript-tests unit-tests integration-tests acceptance-tests - -unit: +unit-tests: phpunit tests/unit -integration: +integration-tests: phpunit tests/integration -acceptance: - cd tests/acceptance; make +acceptance-tests: + cd tests/acceptance; make headless + + +javascript-tests: + cd js; make test diff --git a/README.rst b/README.rst index 96ec30694..bc513be57 100644 --- a/README.rst +++ b/README.rst @@ -149,23 +149,24 @@ JavaScript ~~~~~~~~~~ For JavaScript tests see :file:`js/README.md` - -PHP -~~~ All tests:: make test -Unit tests:: +PHP Unit tests:: - make unit + make unit-tests Integration tests:: - make integration + make integration-tests .. note:: For acceptance tests, a user with the name **test** and password **test** must exist! Acceptance tests:: - make acceptance + make acceptance-tests + +JavaScript tests:: + + make javascript-tests \ No newline at end of file -- cgit v1.2.3