-
Notifications
You must be signed in to change notification settings - Fork 67
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added an example phpunit.xml config file
- Loading branch information
Showing
1 changed file
with
19 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
<!-- | ||
This is an example phpunit.xml file to get you started | ||
Copy it to a directory, update the relative paths and rename to phpunit.xml | ||
Then to run tests cd into it's directory and just run | ||
phpunit | ||
(it'll automatically use any phpunit.xml file in the current directory) | ||
Any options you specify when calling phpunit will override the ones in here | ||
i.e. | ||
phpunit --group kohana | ||
--> | ||
<phpunit colors="true" bootstrap="rel/path/to/index.php"> | ||
<testsuites> | ||
<testsuite name="Kohana Tests"> | ||
<file>rel/path/to/unittest/tests.php</file> | ||
</testsuite> | ||
</testsuites> | ||
</phpunit> |