Include controllers in code coverage calculation

This commit is contained in:
Marcos Zuriaga 2016-10-16 19:57:20 +02:00
parent 50b85491d9
commit 0fefb19a8e
No known key found for this signature in database
GPG key ID: 7D15585354D072FF
2 changed files with 3 additions and 2 deletions

View file

@ -1,7 +1,7 @@
#!/bin/bash #!/bin/bash
# Setup your testing environment paths # Setup your testing environment paths
export SERVER_BASE_DIR=/var/www/html/ncdev/ export SERVER_BASE_DIR=/var/www/html/nextcloud/
export SERVER_CONFIG_DIR=/var/www/html/ncdev/config/ export SERVER_CONFIG_DIR=/var/www/html/nextcloud/config/
export SERVER_CONFIG_FILE=config.php export SERVER_CONFIG_FILE=config.php
# Lanuch the actual tests # Lanuch the actual tests

View file

@ -8,6 +8,7 @@
<whitelist processUncoveredFilesFromWhitelist="true"> <whitelist processUncoveredFilesFromWhitelist="true">
<directory suffix=".php">./lib/Db</directory> <directory suffix=".php">./lib/Db</directory>
<directory suffix=".php">./lib/Utility</directory> <directory suffix=".php">./lib/Utility</directory>
<directory suffix=".php">./controller</directory>
<!--<file>/path/to/file</file>--> <!--<file>/path/to/file</file>-->
<!--<exclude>--> <!--<exclude>-->
<!--<directory suffix=".php">/path/to/dir</directory>--> <!--<directory suffix=".php">/path/to/dir</directory>-->