Session
extends Session
in package
Session handler for PHPUnit test cases using Mink.
Tags
Table of Contents
- $coverageDir : string
- Coverage data directory
- $testName : string
- Test name
- setRemoteCoverageConfig() : void
- Set remote code coverate configuration
- visit() : void
- Visit specified URL and automatically start session if not already running.
Properties
$coverageDir
Coverage data directory
protected
string
$coverageDir
= ''
$testName
Test name
protected
string
$testName
= ''
Methods
setRemoteCoverageConfig()
Set remote code coverate configuration
public
setRemoteCoverageConfig(string $testName, string $coverageDir) : void
Parameters
- $testName : string
-
Test name
- $coverageDir : string
-
Coverage data directory
Return values
void —visit()
Visit specified URL and automatically start session if not already running.
public
visit(string $url) : void
Parameters
- $url : string
-
url of the page