File tree Expand file tree Collapse file tree 6 files changed +27
-6
lines changed Expand file tree Collapse file tree 6 files changed +27
-6
lines changed Original file line number Diff line number Diff line change 41
41
rm -f installer expected
42
42
mv composer.phar /usr/local/bin/composer
43
43
44
+ - name : Install Xdebug
45
+ run : |
46
+ pecl install xdebug
47
+ docker-php-ext-enable xdebug
48
+
44
49
- name : Checkout repository
45
50
uses : actions/checkout@v2
46
51
with :
51
56
run : composer update --working-dir ${{ env.INSTALL_PATH }}
52
57
53
58
- name : Run unit tests
54
- run : composer test --working-dir ${{ env.INSTALL_PATH }}
59
+ run : composer test --working-dir ${{ env.INSTALL_PATH }}
60
+
61
+ - name : Run mutation tests
62
+ run : composer infect --working-dir ${{ env.INSTALL_PATH }}
Original file line number Diff line number Diff line change 39
39
"ext-ctype" : " *"
40
40
},
41
41
"require-dev" : {
42
- "phpunit/phpunit" : " ~9.0"
42
+ "phpunit/phpunit" : " ~9.0" ,
43
+ "infection/infection" : " ^0.25.5"
43
44
},
44
45
"autoload" : {
45
46
"psr-4" : {
52
53
}
53
54
},
54
55
"scripts" : {
55
- "test" : " phpunit tests/"
56
+ "test" : " phpunit tests/" ,
57
+ "infect" : " XDEBUG_MODE=coverage infection --show-mutations"
56
58
},
57
59
"minimum-stability" : " stable" ,
58
60
"prefer-stable" : true
Original file line number Diff line number Diff line change
1
+ {
2
+ "$schema" : " vendor/infection/infection/resources/schema.json" ,
3
+ "source" : {
4
+ "directories" : [
5
+ " src"
6
+ ]
7
+ },
8
+ "mutators" : {
9
+ "@default" : true
10
+ }
11
+ }
Original file line number Diff line number Diff line change 26
26
use WikibaseSolutions \CypherDSL \Types \PropertyTypes \BooleanType ;
27
27
28
28
/**
29
- * @covers \WikibaseSolutions\CypherDSL\Boolean
29
+ * @covers \WikibaseSolutions\CypherDSL\Literals\ Boolean
30
30
*/
31
31
class BooleanTest extends TestCase
32
32
{
Original file line number Diff line number Diff line change 26
26
use WikibaseSolutions \CypherDSL \Types \PropertyTypes \NumeralType ;
27
27
28
28
/**
29
- * @covers \WikibaseSolutions\CypherDSL\Decimal
29
+ * @covers \WikibaseSolutions\CypherDSL\Literals\ Decimal
30
30
*/
31
31
class DecimalTest extends TestCase
32
32
{
Original file line number Diff line number Diff line change 26
26
use WikibaseSolutions \CypherDSL \Types \PropertyTypes \StringType ;
27
27
28
28
/**
29
- * @covers \WikibaseSolutions\CypherDSL\StringLiteral
29
+ * @covers \WikibaseSolutions\CypherDSL\Literals\ StringLiteral
30
30
*/
31
31
class StringLiteralTest extends TestCase
32
32
{
You can’t perform that action at this time.
0 commit comments