Skip to content

Instantly share code, notes, and snippets.

@garlandkr
Last active December 21, 2015 01:09
Show Gist options
  • Select an option

  • Save garlandkr/6225710 to your computer and use it in GitHub Desktop.

Select an option

Save garlandkr/6225710 to your computer and use it in GitHub Desktop.
<phpunit
colors="true"
verbose="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
stopOnFailure="true"
backupGlobals="true"
convertWarningsToExceptions="true">
<testsuites>
<testsuite name="all">
<file>blocks/club_beans_test.php</file>
<file>blocks/gallery_bean_test.php</file>
<file>blocks/news_bean_test.php</file>
<file>blocks/prevnext_bean_test.php</file>
<file>content_aggregation/aggregator_delete_from_preview_list_test.php</file>
<file>content_aggregation/aggregator_feed_proper_fields_test.php</file>
<file>content_aggregation/aggregator_proper_permissions_test.php</file>
<file>content_aggregation/aggregator_response_code_test.php</file>
<file>content_aggregation/aggregator_transforming_to_node_test.php</file>
<file>entities/club_test.php</file>
<file>entities/competition_test.php</file>
<file>entities/match_test.php</file>
<file>entities/season_test.php</file>
<file>entities/custom_entity_aliases_test.php</file>
<file>eos/eos_test.php</file>
<file>opta_field/opta_field_test.php</file>
<file>roles_permissions_test/roles_permissions_test.php</file>
<file>scoreboard/scoreboard_test.php</file>
</testsuite>
<testsuite name="blocks">
<file>blocks/club_beans_test.php</file>
<file>blocks/gallery_bean_test.php</file>
<file>blocks/news_bean_test.php</file>
<file>blocks/prevnext_bean_test.php</file>
</testsuite>
<testsuite name="content-aggregation">
<file>content_aggregation/aggregator_delete_from_preview_list_test.php</file>
<file>content_aggregation/aggregator_feed_proper_fields_test.php</file>
<file>content_aggregation/aggregator_proper_permissions_test.php</file>
<file>content_aggregation/aggregator_response_code_test.php</file>
<file>content_aggregation/aggregator_transforming_to_node_test.php</file>
</testsuite>
<testsuite name="entities">
<file>entities/club_test.php</file>
<file>entities/competition_test.php</file>
<file>entities/match_test.php</file>
<file>entities/season_test.php</file>
<file>entities/custom_entity_aliases_test.php</file>
</testsuite>
<testsuite name="eos">
<file>eos/eos_test.php</file>
</testsuite>
<testsuite name="hubs">
<file>hubs/hubs_test.php</file>
</testsuite>
<testsuite name="opta-field">
<file>opta_field/opta_field_test.php</file>
</testsuite>
<testsuite name="roles-permissions">
<file>roles_permissions_test/roles_permissions_test.php</file>
</testsuite>
<testsuite name="scoreboard">
<file>scoreboard/scoreboard_test.php</file>
</testsuite>
<logging>
<log type="coverage-html" target="coverage" charset="UTF-8"
highlight="true" lowUpperBound="35" highLowerBound="70"/>
<log type="coverage-clover" target="coverage.xml"/>
<log type="coverage-php" target="coverage.serialized"/>
<log type="json" target="logfile.json"/>
<log type="tap" target="logfile.tap"/>
<log type="junit" target="logfile.xml" logIncompleteSkipped="false"/>
</logging>
</testsuites>
<filter>
<blacklist>
<directory>mp7_test</directory>
<directory>mp7_core/.vagrant</directory>
<directory>mp7_core/includes</directory>
<directory>mp7_core/misc</directory>
<directory>mp7_core/modules</directory>
<directory>mp7_core/node_modules</directory>
<directory>mp7_core/scripts</directory>
<directory>mp7_core/themes</directory>
<directory>mp7_core/sites/all/modules/contrib</directory>
<directory>mp7_core/sites/all/libraries</directory>
</blacklist>
</filter>
</phpunit>
@garlandkr

Copy link
Copy Markdown
Author

phpunit -c mp7_test_suites.xml --testsuite all --coverage-clover coverage.xml --coverage-html coverage

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment