PHP Класс Jyxo\Beholder\TestCase\HttpResponse
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'))
Показать файл
Открыть проект
Открытые методы
Метод |
Описание |
|
__construct ( string $description, string $url, array $tests = [] ) |
Constructor. Gets the testing URL and optional custom tests. |
|
run ( ) : Result |
Performs the test. |
|
Описание методов
__construct()
публичный Метод
Constructor. Gets the testing URL and optional custom tests.
public run ( ) : Result |
Результат |
Jyxo\Beholder\Result |
|