Skip to content

Commit 29d67bb

Browse files
committed
Initial PHPUnit config
1 parent 8425da6 commit 29d67bb

File tree

2 files changed

+30
-0
lines changed

2 files changed

+30
-0
lines changed

tests/bootstrap.php

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
<?php
2+
3+
4+
require_once '../vendor/autoload.php';
5+
6+
\Ease\Shared::init(['DB_CONNECTION', 'DB_HOST', 'DB_PORT', 'DB_DATABASE', 'DB_USERNAME', 'DB_PASSWORD'], '../tests/test.env');

tests/configuration.xml

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
<?xml version="1.0"?>
2+
<!--
3+
/**
4+
* This file is part of the PohodaSQL package
5+
*
6+
* https://github.com/VitexSoftware/
7+
*
8+
* (c) Vítězslav Dvořák <http://vitexsoftware.com>
9+
*
10+
* For the full copyright and license information, please view the LICENSE
11+
* file that was distributed with this source code.
12+
*/
13+
-->
14+
15+
<!-- see http://www.phpunit.de/wiki/Documentation -->
16+
<!--phpunit bootstrap="/path/to/bootstrap.php"
17+
colors="false"
18+
convertErrorsToExceptions="true"
19+
convertNoticesToExceptions="true"
20+
convertWarningsToExceptions="true"
21+
stopOnFailure="true">
22+
</phpunit-->
23+
24+
<phpunit colors="false" />

0 commit comments

Comments
 (0)