Phing > tests > remove mutation tests (because Infection requires PHP 7.1+)

This commit is contained in:
Meritoo
2018-10-28 00:06:52 +02:00
parent 870bfe48a2
commit 822dbf6830
2 changed files with 1 additions and 9 deletions

View File

@@ -78,7 +78,5 @@ tests.database = ${dir.data.temporary}/database.sqlite
# Paths of frameworks used to run tests: # Paths of frameworks used to run tests:
# - PHPUnit (unit tests) # - PHPUnit (unit tests)
# - Infection (mutation tests)
# #
tests.phpunit.command = ./vendor/bin/phpunit --verbose --no-coverage tests.phpunit.command = ./vendor/bin/phpunit --verbose --no-coverage
tests.mutation.command = ./vendor/bin/infection --threads=5

View File

@@ -51,8 +51,7 @@
<!-- Test target --> <!-- Test target -->
<target name="build:test" <target name="build:test"
depends="test:phpunit, depends="test:phpunit"
test:infection"
/> />
<!-- Symfony2 code sniffer --> <!-- Symfony2 code sniffer -->
@@ -104,11 +103,6 @@
<exec command="${tests.phpunit.command}" passthru="true"/> <exec command="${tests.phpunit.command}" passthru="true"/>
</target> </target>
<!-- Run mutation testing -->
<target name="test:infection" depends="build:prepare">
<exec command="${tests.mutation.command}" passthru="true"/>
</target>
<!-- Project build clean --> <!-- Project build clean -->
<target name="build:clean"> <target name="build:clean">
<if> <if>