PHP Class 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'))
Datei anzeigen
Open project: jyxo/php
Public Methods
Method |
Description |
|
__construct ( string $description, string $url, array $tests = [] ) |
Constructor. Gets the testing URL and optional custom tests. |
|
run ( ) : Result |
Performs the test. |
|
Method Details
__construct()
public method
Constructor. Gets the testing URL and optional custom tests.
public run ( ) : Result |
return |
Jyxo\Beholder\Result |
|