Skip to content

Commit

Permalink
[TASK] Adjust phpunit configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
brotkrueml committed Dec 7, 2019
1 parent 3c5024e commit 6eb24c0
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Expand Up @@ -72,7 +72,7 @@ jobs:
composer install
- name: Run unit tests
run: |
.Build/bin/phpunit -c Tests/phpunit.xml.dist --log-junit .Build/logs/phpunit.xml --coverage-text --coverage-clover .Build/logs/clover.xml
.Build/bin/phpunit -c Tests/phpunit.xml.dist
- name: Send code coverage report to coveralls.io
run: .Build/bin/php-coveralls -v
env:
Expand Down
2 changes: 1 addition & 1 deletion Tests/Unit/ViewHelpers/PrismViewHelperTest.php
Expand Up @@ -58,7 +58,7 @@ public function argumentsAreRegisteredCorrectly(): void
* @param array $arguments
* @param string $expected
*/
public function withArgumentResultSetIsReturnedCorrectly(array $arguments, string $expected): void
public function argumentResultSetIsReturnedCorrectly(array $arguments, string $expected): void
{
$actual = $this->subject->renderStatic(
$arguments,
Expand Down
17 changes: 11 additions & 6 deletions Tests/phpunit.xml.dist
@@ -1,11 +1,12 @@
<phpunit
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
stopOnFailure="false"
beStrictAboutOutputDuringTests="true"
beStrictAboutTodoAnnotatedTests="true"
failOnRisky="true"
failOnWarning="true"
testdox="true"
>
<testsuites>
<testsuite name="Unit tests">
<testsuites>
<testsuite name="unit">
<directory>Unit/</directory>
</testsuite>
</testsuites>
Expand All @@ -14,4 +15,8 @@
<directory>../Classes/</directory>
</whitelist>
</filter>
<logging>
<log type="coverage-clover" target="../.Build/logs/clover.xml"/>
<log type="junit" target="../.Build/logs/phpunit.xml"/>
</logging>
</phpunit>

0 comments on commit 6eb24c0

Please sign in to comment.