Class HttpResponse
Common HTTP response test. Checks only availability in the default form, but can be easily extended with additional checks.
Example:
new \Jyxo\Beholder\TestCase\HttpResponse('Foo', 'http://example.com/', array('body' => '/this text must be in body/m'))
- Jyxo\Beholder\TestCase
- Jyxo\Beholder\TestCase\HttpResponse
Namespace: Jyxo\Beholder\TestCase
Category: Jyxo
Package: Jyxo\Beholder
Copyright: Copyright (c) 2005-2011 Jyxo, s.r.o.
License: https://github.com/jyxo/php/blob/master/license.txt
Author: Jan Kaštánek
Located at Beholder/TestCase/HttpResponse.php
Category: Jyxo
Package: Jyxo\Beholder
Copyright: Copyright (c) 2005-2011 Jyxo, s.r.o.
License: https://github.com/jyxo/php/blob/master/license.txt
Author: Jan Kaštánek
Located at Beholder/TestCase/HttpResponse.php
public
|
#
__construct( string $description, string $url, array $tests = array() )
Constructor. Gets the testing URL and optional custom tests. |
public
|
getDescription()
|