1
0
mirror of https://github.com/mrclay/minify.git synced 2025-08-28 16:19:59 +02:00

port Minify_JS_ClosureCompiler test to phpunit

This commit is contained in:
Elan Ruusamäe
2015-11-18 14:08:01 +02:00
committed by Steve Clay
parent e2bb6b0565
commit 6838349e3a
4 changed files with 135 additions and 126 deletions

37
phpunit.xml Normal file
View File

@@ -0,0 +1,37 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- http://phpunit.de/manual/current/en/appendixes.configuration.html -->
<phpunit
backupGlobals="false"
backupStaticAttributes="false"
colors="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
processIsolation="false"
stopOnFailure="false"
syntaxCheck="false"
bootstrap="vendor/autoload.php">
<testsuites>
<testsuite name="Project Test Suite">
<directory>tests</directory>
</testsuite>
</testsuites>
<!--
<php>
<server name="KERNEL_DIR" value="/path/to/your/app/" />
</php>
-->
<!-- for code coverage -->
<filter>
<whitelist>
<directory>.</directory>
<exclude>
<directory>tests</directory>
</exclude>
</whitelist>
</filter>
</phpunit>