PHP Class Eccube\Tests\Plugin\Web\AbstractWebTestCase

全フックポイントを利用するHookPointプラグインをロードし、WebTestで画面を巡回させる HookPointプラグインの各メソッドは、自身のフックポイント名をechoしている テストケース側では、出力された内容をexpectOutputStringメソッドで確認し、フックポイントの呼び出しが行われているかを検証する Class AbstractWebTestCase
Inheritance: extends Eccube\Tests\EccubeTestCase
Show file Open project: ec-cube/ec-cube Class Usage Examples

Protected Properties

Property Type Description
$client
$from テスト用プラグイン.
$to テスト用プラグイン設置先.

Public Methods

Method Description
logIn ( $user = null )
setUp ( )
tearDown ( )
verifyOutputString ( array $expected, string $message = '' ) echo等で出力される内容の検証.

Method Details

logIn() public method

public logIn ( $user = null )

setUp() public method

public setUp ( )

tearDown() public method

public tearDown ( )

verifyOutputString() public method

echo等で出力される内容の検証.
public verifyOutputString ( array $expected, string $message = '' )
$expected array
$message string

Property Details

$client protected property

protected $client

$from protected property

テスト用プラグイン.
protected $from

$to protected property

テスト用プラグイン設置先.
protected $to