diff --git a/Makefile b/Makefile index 36a7044c..449c4243 100644 --- a/Makefile +++ b/Makefile @@ -90,20 +90,23 @@ endif # coding standard # test stuff -test-directories: - rm -rf tests/cache tests/unit/cache tests/integration/cache - mkdir tests/cache - mkdir tests/unit/cache - mkdir tests/integration/cache - -test-unit: test-directories +test-unit: directories $(PHPUNIT) --testsuite "Erfurt Unit Tests" -test-integration-virtuoso: test-directories - EF_STORE_ADAPTER=virtuoso $(PHPUNIT) --testsuite "Erfurt Virtuoso Integration Tests" +test-unit-cc: directories + $(PHPUNIT) --testsuite "Erfurt Unit Tests" --coverage-clover ./build/logs/clover.xml --coverage-html ./build/coverage --log-junit ./build/logs/junit.xml + +test-integration-virtuoso: directories + EF_STORE_ADAPTER=virtuoso $(PHPUNIT) --testsuite "Erfurt Integration Tests" + +test-integration-virtuoso-cc: directories + EF_STORE_ADAPTER=virtuoso $(PHPUNIT) --testsuite "Erfurt Integration Tests" --coverage-html ./build/coverage-virtuoso + +test-integration-mysql: directories + EF_STORE_ADAPTER=zenddb $(PHPUNIT) --testsuite "Erfurt Integration Tests" -test-integration-mysql: test-directories - EF_STORE_ADAPTER=zenddb $(PHPUNIT) --testsuite "Erfurt Virtuoso Integration Tests" +test-integration-mysql-cc: directories + EF_STORE_ADAPTER=zenddb $(PHPUNIT) --testsuite "Erfurt Integration Tests" --coverage-html ./build/coverage-mysql test: make test-unit diff --git a/build.xml b/build.xml index b98a197c..f6b6f790 100644 --- a/build.xml +++ b/build.xml @@ -12,7 +12,8 @@ - + + @@ -21,7 +22,8 @@ - + + @@ -38,7 +40,7 @@ - + @@ -46,7 +48,7 @@ - + @@ -54,46 +56,26 @@ - - - - - - - - - - - - - - - - - - - - + + - + - + - + @@ -101,8 +83,7 @@ - - + @@ -111,20 +92,27 @@ - + - + + + - + + + + + + - + @@ -133,4 +121,24 @@ + + + + + + + + + + + + + + + + + + diff --git a/build/phpcs.xml b/build/phpcs.xml deleted file mode 100644 index 78d938f4..00000000 --- a/build/phpcs.xml +++ /dev/null @@ -1,6 +0,0 @@ - - - -OntoWiki rule set for PHP_CodeSniffer - - \ No newline at end of file diff --git a/build/phpmd.xml b/build/phpmd.xml index b78c8613..3c91c3c0 100644 --- a/build/phpmd.xml +++ b/build/phpmd.xml @@ -1,8 +1,8 @@ - diff --git a/composer.json b/composer.json index ae8f99b1..0cb67595 100644 --- a/composer.json +++ b/composer.json @@ -11,13 +11,20 @@ } ], "require": { - "php": ">=5.3.3", + "php": ">=5.4.0", "semsol/arc2": "*", "zendframework/zendframework1": "1.*" }, "require-dev": { "phpunit/phpunit": "4.5.*", - "squizlabs/php_codesniffer": "dev-master" + "squizlabs/php_codesniffer": "dev-master", + "ceus-media/common": "dev-master", + "ceus-media/doc-creator": "dev-master", + "zerkalica/php-code-browser": "dev-master", + "sebastian/phpcpd": "2.0.*", + "pdepend/pdepend": "2.2.*", + "phploc/phploc": "2.1.*", + "phpmd/phpmd": "2.4.*" }, "autoload": { "classmap": [