mirror of
https://github.com/wiosna-dev/common-library.git
synced 2026-03-12 01:31:45 +01:00
Phing > tests > remove mutation tests (because Infection requires PHP 7.1+)
This commit is contained in:
@@ -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
|
|
||||||
|
|||||||
@@ -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>
|
||||||
|
|||||||
Reference in New Issue
Block a user