SimpleTest


SimpleTest\WebTestCaseInvoker
web_tester.php at line 446

Class WebTestCaseInvoker

SimpleInvokerDecorator
└─WebTestCaseInvoker

public class WebTestCaseInvoker
extends SimpleInvokerDecorator

Extension that builds a web browser at the start of each test.

Subpackage:
WebTester

Constructor Summary

WebTestCaseInvoker(mixed invoker, SimpleTestCase test_case, SimpleScorer scorer)

Takes in the test case and reporter to mediate between.

Method Summary
void

invoke(string method)

Builds the browser and runs the test.

Methods inherited from SimpleTest\SimpleInvokerDecorator
getTestCase, invoke

Constructor Detail

web_tester.php at line 453

WebTestCaseInvoker

public WebTestCaseInvoker(mixed invoker, SimpleTestCase test_case, SimpleScorer scorer)

Takes in the test case and reporter to mediate between.

Parameters:
test_case - Test case to run.
scorer - Reporter to receive events.

Method Detail

web_tester.php at line 462

invoke

public void invoke(string method)

Builds the browser and runs the test.

Parameters:
method - Test method to call.

SimpleTest