Permalink
Browse files

Add PHPUnit configuration file.

  • Loading branch information...
1 parent 4983b08 commit c99c125d5a3643aa6403137f3b659297acbc2a43 @sebastianbergmann sebastianbergmann committed Sep 3, 2011
Showing with 21 additions and 6 deletions.
  1. +0 −3 Tests/ClientTest.php
  2. +0 −3 Tests/StatusConverterTest.php
  3. +21 −0 phpunit.xml.dist
@@ -1,7 +1,4 @@
<?php
-
-require_once 'PHPUnit/Extensions/TicketListener/Jira/Client.php';
-
/**
* @covers PHPUnit_Extensions_TicketListener_Jira_Client
*/
@@ -1,7 +1,4 @@
<?php
-
-require_once 'PHPUnit/Extensions/TicketListener/Jira/StatusConverter.php';
-
/**
* @covers PHPUnit_Extensions_TicketListener_Jira_StatusConverter
*/
View
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<phpunit bootstrap="PHPUnit/Extensions/TicketListener/Jira/Autoload.php"
+ backupGlobals="false"
+ backupStaticAttributes="false"
+ strict="true"
+ verbose="true">
+ <testsuites>
+ <testsuite name="PHPUnit_TicketListener_Jira">
+ <directory suffix="Test.php">Tests</directory>
+ </testsuite>
+ </testsuites>
+
+ <filter>
+ <whitelist addUncoveredFilesFromWhitelist="true">
+ <directory suffix=".php">PHPUnit</directory>
+ <exclude>
+ <file>PHPUnit/Extensions/TicketListener/Jira/Autoload.php</file>
+ </exclude>
+ </whitelist>
+ </filter>
+</phpunit>

0 comments on commit c99c125

Please sign in to comment.