Posts tagged with "phpunit"

Mocking Artax with PHPUnit

php, amphp, async, artax, mocking, phpunit, quicktip

Artax is an asynchronous HTTP/1.1 client built on the Amp concurrency framework. Mocking can be great to help testing, especially for testing error cases which can be hard to receive otherwise with real requests / responses.