diff --git a/phpunit.xml b/phpunit.xml index 00db39e..21fb44e 100644 --- a/phpunit.xml +++ b/phpunit.xml @@ -12,4 +12,16 @@ test/IDF/ + + + + src/IDF + + src/IDF/Tests + src/IDF/conf + src/IDF/version.php + + + + diff --git a/run-tests b/run-tests new file mode 100755 index 0000000..bc166f6 --- /dev/null +++ b/run-tests @@ -0,0 +1,14 @@ +#!/usr/bin/env php +>> code coverage %s/%s (%s%%)'."\n", + $xml->project->metrics['coveredstatements'], + $xml->project->metrics['statements'], + round(($xml->project->metrics['coveredstatements']/(float)$xml->project->metrics['statements']) * 100.0, 2) +); +