Skip to content

Commit

Permalink
first phpunit try run #5
Browse files Browse the repository at this point in the history
  • Loading branch information
Josef Stich committed May 14, 2024
1 parent c5224f4 commit ff58cfc
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,7 @@ jobs:
- name: Composer install
run: composer install

- name: Run PHPUnit
run: vendor/bin/phpunit


1 change: 1 addition & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"license" : "MIT",
"require" : {
"php" : "^8.1",
"phpunit/phpunit": "^9.5",
"composer/installers" : "~1.0",
"kba-team/cakephp" : "^2.10",
"josegonzalez/dotenv": "1.*",
Expand Down
24 changes: 24 additions & 0 deletions phpunit.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
<?xml version="1.0" encoding="UTF-8"?>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.6/phpunit.xsd"
bootstrap="Test/bootstrap.php"
colors="true"
cacheResult="false"
executionOrder="depends,defects"
forceCoversAnnotation="false"
beStrictAboutCoversAnnotation="true"
beStrictAboutOutputDuringTests="true"
beStrictAboutTodoAnnotatedTests="true"
convertDeprecationsToExceptions="true"
failOnRisky="true"
failOnWarning="true"
verbose="true">
<testsuites>
<testsuite name="default">
<directory>Plugin/Filter/Test/Case</directory>
</testsuite>
</testsuites>
<listeners>
<listener class="CakeFixtureInjector" file="vendor/kba-team/cakephp/lib/Cake/TestSuite/Fixture/CakeFixtureInjector.php"/>
</listeners>
</phpunit>

0 comments on commit ff58cfc

Please sign in to comment.