How to add Laravel's HTTP-Tests in a PHP package?

0

I am creating a package in PHP, with the composer by the time it is published in the Packagist .

This package consists of many requests in other APIs, in which case I'm using Guzzle .

To run the tests on phpunit that helps test the JSON framework, I found this package in github, but even in tests that return a small JSON, the code is pretty "annoying" to do.

I'm a bit more familiar with Laravel projects, so I'd like to know if anyone knows of any way to add a development dependency to this package < strong> only to Laravel's HTTP-Tests portion, or at least all part of testing, without inserting more than this.

I have already done a search in the documentation of Laravel and a little in Stackoverflow, but so far I have not found anything. If anyone knows, thank you in advance.

    
asked by anonymous 04.05.2018 / 03:53

0 answers