1
0
mirror of https://github.com/RSS-Bridge/rss-bridge.git synced 2025-08-16 21:44:01 +02:00

refactor: ./tests (#2649)

* refactor: ./tests

* test: consolidate testsuites

* refactor: move config setup into rssbridge.php

Makes it easier to unit test.

* lint
This commit is contained in:
Dag
2022-04-13 21:04:10 +02:00
committed by GitHub
parent 183004f954
commit d62b977394
11 changed files with 20 additions and 42 deletions

View File

@@ -1,6 +1,7 @@
<phpunit
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="http://schema.phpunit.de/4.5/phpunit.xsd"
bootstrap="./lib/rssbridge.php"
colors="true"
processIsolation="false"
timeoutForSmallTests="1"
@@ -8,14 +9,8 @@
timeoutForLargeTests="6" >
<testsuites>
<testsuite name="implementations">
<directory suffix="ImplementationTest.php">tests</directory>
</testsuite>
<testsuite name="formats">
<directory suffix="FormatTest.php">tests</directory>
</testsuite>
<testsuite name="actions">
<directory suffix="ActionTest.php">tests</directory>
<testsuite name="rss-bridge">
<directory>./tests</directory>
</testsuite>
</testsuites>