summaryrefslogtreecommitdiff
path: root/phpunit.xml
diff options
context:
space:
mode:
authorSimon Wisselink <wisskid@users.noreply.github.com>2020-04-13 15:30:52 +0200
committerGitHub <noreply@github.com>2020-04-13 15:30:52 +0200
commit17d4d43624f9cd183ae0395854f4409c410e3ce9 (patch)
treee0e6e3a63b8012267e02240e259da56542e1a911 /phpunit.xml
parent61e741280786d6dbe106fc14690a00d87019de96 (diff)
downloadsmarty-17d4d43624f9cd183ae0395854f4409c410e3ce9.tar.gz
smarty-17d4d43624f9cd183ae0395854f4409c410e3ce9.tar.bz2
smarty-17d4d43624f9cd183ae0395854f4409c410e3ce9.zip
Feature/merge smarty-phpunit into tests subfolder (#580)
* Removed unneeded files and replace dummy.txt with .gitignore files * Synced unit tests with master codebase, noted TODO's, fixed phpunit scripts and travis config * fix php7.4 deprecation and remove php7.4 from travis allow_failures since php7.4 is current stable Co-authored-by: Uwe Tews <uwe.tews@googlemail.com> Co-authored-by: Uwe Tews <uwe.tews@gmail.com> Co-authored-by: AnrDaemon <anrdaemon@yandex.ru>
Diffstat (limited to 'phpunit.xml')
-rw-r--r--phpunit.xml43
1 files changed, 43 insertions, 0 deletions
diff --git a/phpunit.xml b/phpunit.xml
new file mode 100644
index 00000000..e372eb80
--- /dev/null
+++ b/phpunit.xml
@@ -0,0 +1,43 @@
+<phpunit
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:noNamespaceSchemaLocation="http://schema.phpunit.de/4.5/phpunit.xsd"
+ bootstrap="tests/Bootstrap.php"
+ colors="true"
+ backupGlobals="false"
+ backupStaticAttributes="true"
+ forceCoversAnnotation="false"
+ mapTestClassNameToCoveredClassName="false"
+ processIsolation="false"
+ stopOnError="false"
+ stopOnFailure="false"
+ stopOnIncomplete="false"
+ stopOnSkipped="false"
+ stopOnRisky="false"
+ timeoutForSmallTests="1"
+ timeoutForMediumTests="10"
+ timeoutForLargeTests="60"
+ verbose="false">
+
+<filter>
+ <testsuites>
+ <testsuite name="Smarty Test Suite">
+ <directory>tests/UnitTests</directory>
+ </testsuite>
+ </testsuites>
+ <blacklist>
+ <directory suffix=".php">tests</directory>
+ <directory suffix=".php">tests/cache</directory>
+ <directory suffix=".php">tests/templates_c</directory>
+ </blacklist>
+ <whitelist processUncoveredFilesFromWhitelist="true">
+ <directory suffix=".php">libs</directory>
+ <directory suffix=".php">libs/plugins</directory>
+ <directory suffix=".php">libs/sysplugins</directory>
+ <directory suffix=".php">demo/plugins</directory>
+ </whitelist>
+ </filter>
+ <logging>
+ <log type="tap" target="tests/TestResults.tap"/>
+ </logging>
+
+</phpunit>