Mark PHPUnit test as risky when it does not have a @covers annotation

This commit is contained in:
Meritoo
2021-03-28 22:18:54 +02:00
parent 64f474fcf1
commit 1116034fe6
2 changed files with 2 additions and 0 deletions

View File

@@ -6,6 +6,7 @@ Common and useful classes, methods, exceptions etc.
1. Change mode of `Xdebug` to `coverage` in Docker's configuration to make it possible to generate code coverage by 1. Change mode of `Xdebug` to `coverage` in Docker's configuration to make it possible to generate code coverage by
`PHPUnit` `PHPUnit`
2. Mark PHPUnit test as risky when it does not have a `@covers` annotation
# 1.1.1 # 1.1.1

View File

@@ -7,6 +7,7 @@
bootstrap="vendor/autoload.php" bootstrap="vendor/autoload.php"
colors="true" colors="true"
executionOrder="random" executionOrder="random"
forceCoversAnnotation="true"
verbose="true" verbose="true"
> >
<php> <php>