mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-21 17:02:19 +00:00
using phpunit to test controllers which are running in codeigniter3 requires further request/response mocking; setup of swagger-ui and swagger openapi doc generation for bookmark.php; WIP integration tests with ci3 & phpunit, maybe annotation generation solution for swagger annotations
This commit is contained in:
committed by
Johann Hoffmann
parent
37fa899540
commit
664796c69f
+3
-5
@@ -1,13 +1,11 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<phpunit bootstrap="index.phpunit.php">
|
||||
<phpunit bootstrap="testbootstrap.php">
|
||||
<testsuites>
|
||||
<testsuite name="BookmarkTest">
|
||||
<directory>system/UnitTests/api/</directory>
|
||||
<directory>./system/IntegrationTests/api/</directory>
|
||||
</testsuite>
|
||||
</testsuites>
|
||||
<php>
|
||||
<ini name="display_errors" value="1"/>
|
||||
<ini name="display_startup_errors" value="1" />
|
||||
<const name="PHPUNIT_TEST" value="1" />
|
||||
<server name="CI_ENV" value="testing"/>
|
||||
</php>
|
||||
</phpunit>
|
||||
|
||||
Reference in New Issue
Block a user