Download the PHP package aspirantzhang/thinkphp6-unit-test without Composer
On this page you can find all versions of the php package aspirantzhang/thinkphp6-unit-test. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download aspirantzhang/thinkphp6-unit-test
More information about aspirantzhang/thinkphp6-unit-test
Files in aspirantzhang/thinkphp6-unit-test
Download aspirantzhang/thinkphp6-unit-test
More information about aspirantzhang/thinkphp6-unit-test
Files in aspirantzhang/thinkphp6-unit-test
Vendor aspirantzhang
Package thinkphp6-unit-test
Short Description A simple tool for unit testing with PHPUnit and ThinkPHP 6
License MIT
Package thinkphp6-unit-test
Short Description A simple tool for unit testing with PHPUnit and ThinkPHP 6
License MIT
Please rate this library. Is it a good library?
Informations about the package thinkphp6-unit-test
ThinkPHP6 Unit Test
A simple tool for unit testing with PHPUnit and ThinkPHP 6
Requirements
Install
Usage
First, use the UnitTestTrait
in your class
When testing a class (such as a controller), use it before your statement, and set $this->app
as the parameter of the controller, like this
or simply a function test
A full method test might be
More supported usage
Finally, close the request.
You can refer to the project using this package https://github.com/aspirantzhang/octopus
License
MIT
All versions of thinkphp6-unit-test with dependencies
PHP Build Version
Package Version
Requires
topthink/framework Version
^6.0
The package aspirantzhang/thinkphp6-unit-test contains the following files
Loading the files please wait ....