mirror of
https://code.mensbeam.com/MensBeam/Arsse.git
synced 2024-12-23 09:02:41 +00:00
4bc3398157
The plan had originally been to use Bldr, but Bldr's features were not particularly compelling, and it has not been maintained recently. By contrast Robo has very useful features while still meeting my needs. In addition to migrating the build process, the current Robo file also runs unit tests, with or without coverage reporting. Fixes #116; improves #113
89 lines
No EOL
3.6 KiB
XML
89 lines
No EOL
3.6 KiB
XML
<?xml version="1.0"?>
|
|
<phpunit
|
|
colors="true"
|
|
bootstrap="bootstrap.php"
|
|
convertErrorsToExceptions="false"
|
|
convertNoticesToExceptions="false"
|
|
convertWarningsToExceptions="false"
|
|
beStrictAboutTestsThatDoNotTestAnything="true"
|
|
beStrictAboutOutputDuringTests="true"
|
|
beStrictAboutTestSize="true"
|
|
stopOnError="true">
|
|
|
|
<filter>
|
|
<whitelist processUncoveredFilesFromWhitelist="true">
|
|
<directory suffix=".php">../lib</directory>
|
|
</whitelist>
|
|
</filter>
|
|
<listeners>
|
|
<listener class="JohnKary\PHPUnit\Listener\SpeedTrapListener">
|
|
<arguments><array>
|
|
<element key="slowThreshold"><integer>1500</integer></element>
|
|
<element key="reportLength"><integer>1000</integer></element>
|
|
</array></arguments>
|
|
</listener>
|
|
</listeners>
|
|
|
|
<testsuites>
|
|
<testsuite name="Exceptions">
|
|
<file>cases/Exception/TestException.php</file>
|
|
</testsuite>
|
|
<testsuite name="Localization">
|
|
<file>cases/Lang/TestLang.php</file>
|
|
<file>cases/Lang/TestLangComplex.php</file>
|
|
<file>cases/Lang/TestLangErrors.php</file>
|
|
</testsuite>
|
|
<testsuite name="Configuration">
|
|
<file>cases/Conf/TestConf.php</file>
|
|
</testsuite>
|
|
<testsuite name="Sundry">
|
|
<file>cases/Misc/TestValueInfo.php</file>
|
|
<file>cases/Misc/TestContext.php</file>
|
|
</testsuite>
|
|
<testsuite name="User management">
|
|
<file>cases/User/TestUserMockInternal.php</file>
|
|
<file>cases/User/TestUserMockExternal.php</file>
|
|
<file>cases/User/TestUserInternalDriver.php</file>
|
|
<file>cases/User/TestAuthorization.php</file>
|
|
</testsuite>
|
|
<testsuite name="Feed parser">
|
|
<file>cases/Feed/TestFeedFetching.php</file>
|
|
<file>cases/Feed/TestFeed.php</file>
|
|
</testsuite>
|
|
<testsuite name="Database drivers">
|
|
<file>cases/Db/TestTransaction.php</file>
|
|
<file>cases/Db/TestResultAggregate.php</file>
|
|
<file>cases/Db/TestResultEmpty.php</file>
|
|
<file>cases/Db/SQLite3/TestDbResultSQLite3.php</file>
|
|
<file>cases/Db/SQLite3/TestDbStatementSQLite3.php</file>
|
|
<file>cases/Db/SQLite3/TestDbDriverCreationSQLite3.php</file>
|
|
<file>cases/Db/SQLite3/TestDbDriverSQLite3.php</file>
|
|
<file>cases/Db/SQLite3/TestDbUpdateSQLite3.php</file>
|
|
</testsuite>
|
|
<testsuite name="Database functions">
|
|
<file>cases/Db/SQLite3/Database/TestDatabaseMiscellanySQLite3.php</file>
|
|
<file>cases/Db/SQLite3/Database/TestDatabaseMetaSQLite3.php</file>
|
|
<file>cases/Db/SQLite3/Database/TestDatabaseUserSQLite3.php</file>
|
|
<file>cases/Db/SQLite3/Database/TestDatabaseSessionSQLite3.php</file>
|
|
<file>cases/Db/SQLite3/Database/TestDatabaseFolderSQLite3.php</file>
|
|
<file>cases/Db/SQLite3/Database/TestDatabaseFeedSQLite3.php</file>
|
|
<file>cases/Db/SQLite3/Database/TestDatabaseSubscriptionSQLite3.php</file>
|
|
<file>cases/Db/SQLite3/Database/TestDatabaseArticleSQLite3.php</file>
|
|
<file>cases/Db/SQLite3/Database/TestDatabaseLabelSQLite3.php</file>
|
|
<file>cases/Db/SQLite3/Database/TestDatabaseCleanupSQLite3.php</file>
|
|
</testsuite>
|
|
<testsuite name="Controllers">
|
|
<testsuite name="NCNv1">
|
|
<file>cases/REST/NextCloudNews/TestNCNVersionDiscovery.php</file>
|
|
<file>cases/REST/NextCloudNews/TestNCNV1_2.php</file>
|
|
</testsuite>
|
|
<testsuite name="TTRSS">
|
|
<file>cases/REST/TinyTinyRSS/TestTinyTinyAPI.php</file>
|
|
<file>cases/REST/TinyTinyRSS/TestTinyTinyIcon.php</file>
|
|
</testsuite>
|
|
</testsuite>
|
|
<testsuite name="Refresh service">
|
|
<file>cases/Service/TestService.php</file>
|
|
</testsuite>
|
|
</testsuites>
|
|
</phpunit> |