异步HTTP请求测试库的API或更多…- jolicode / asynit

时间:2024-02-17 08:26:19
【文件属性】:

文件名称:异步HTTP请求测试库的API或更多…- jolicode / asynit

文件大小:31KB

文件格式:ZIP

更新时间:2024-02-17 08:26:19

http phpunit amphp AmpPHP

asynit Asynchronous (using coroutine) HTTP Request Testing Library for API and more... Install composer require --dev jolicode/asynit Usage Asynit Basic usage Asynit will read PHP's classes and try to mimic the PHPUnit API. You need to create a test class in some directory, which will extend the TestCase class of Asynit: use Asynit\TestCase; class ApiTest extends TestCase { } Then you can add some


【文件预览】:
asynit-master
----composer.json(1KB)
----.travis.yml(521B)
----bin()
--------smoker(682B)
--------asynit(684B)
----example()
--------HttpbinTest.php(3KB)
--------HttpClientOverrideTest.php(748B)
--------smoke.yml(1KB)
----Dockerfile(139B)
----tests()
--------AnotherTest.php(238B)
--------HttpClientOverrideTestPromise.php(880B)
--------HttpClientOverrideTest.php(730B)
--------FunctionalTests.php(3KB)
----.php_cs(253B)
----LICENSE(1KB)
----src()
--------Output()
--------HttpClient()
--------SmokerTestCase.php(3KB)
--------Assert()
--------Pool.php(989B)
--------SmokeTest.php(268B)
--------TestWorkflow.php(2KB)
--------Command()
--------Annotation()
--------Runner()
--------Parser()
--------Test.php(3KB)
--------TestCase.php(4KB)
--------PoolAwareInterface.php(100B)
----.gitignore(271B)
----README.md(7KB)

网友评论