Add phpUnit testing and update test file.

Test file does not run any tests automatically but they need to be
triggered with the _GET parameters.

A full phpunit test has been added for the full functionality
This commit is contained in:
2022-06-13 19:53:00 +09:00
parent d69781a709
commit 96b24f9424
6 changed files with 1145 additions and 26 deletions

View File

@@ -2,4 +2,8 @@
colors="true"
verbose="true"
>
<!-- Below removes final from classes for mock tests -->
<extensions>
<extension class="test\phpUnit\Hook\BypassFinalHook" file="test/phpUnit/Hook/BypassFinalHook.php" />
</extensions>
</phpunit>