classes-Tecnickcom-TCPDF-Tests-TestRunner

It appears that you are using AdBlocking software. The cost of running this website is covered by advertisements. If you like it please feel free to a small amount of money to secure the future of this website.

TestRunner

in package

Table of Contents

Methods

__construct()  : mixed
excludeTests()  : $this
filterByGroup()  : $this
getFailedTests()  : array<string|int, string>
getGeneratedFiles()  : array<string|int, string>
getRunTime()  : int|null
Get last run time in seconds
getSkippedTests()  : array<string|int, string>
getTestFiles()  : array<string|int, string>
getTotalTestCount()  : int
only()  : $this
preserveOutputFiles()  : $this
printSummary()  : $this
Outputs a summary of the last test suite run
runTests()  : bool
stopOn()  : $this
withTestExecutor()  : $this

Methods

__construct()

public __construct(mixed $exampleDir) : mixed
Parameters
$exampleDir : mixed

excludeTests()

public excludeTests(array<string|int, mixed> $excluded) : $this
Parameters
$excluded : array<string|int, mixed>
Return values
$this

filterByGroup()

public filterByGroup(array<string|int, mixed> $groups) : $this
Parameters
$groups : array<string|int, mixed>
Return values
$this

getFailedTests()

public getFailedTests() : array<string|int, string>
Return values
array<string|int, string>

getGeneratedFiles()

public getGeneratedFiles() : array<string|int, string>
Return values
array<string|int, string>

getRunTime()

Get last run time in seconds

public getRunTime() : int|null
Return values
int|null

getSkippedTests()

public getSkippedTests() : array<string|int, string>
Return values
array<string|int, string>

getTestFiles()

public getTestFiles() : array<string|int, string>
Return values
array<string|int, string>

getTotalTestCount()

public getTotalTestCount() : int
Return values
int

only()

public only(array<string|int, mixed> $files) : $this
Parameters
$files : array<string|int, mixed>
Return values
$this

preserveOutputFiles()

public preserveOutputFiles([bool $preserve = true ]) : $this
Parameters
$preserve : bool = true
Return values
$this

printSummary()

Outputs a summary of the last test suite run

public printSummary() : $this
Return values
$this

runTests()

public runTests(string $outputDir) : bool
Parameters
$outputDir : string

Path to output folder

Return values
bool

TRUE if all tests passed, FALSE otherwise

stopOn()

public stopOn(array<string|int, string> $conditions) : $this
Parameters
$conditions : array<string|int, string>
Return values
$this
On this page
 

© 2004-2024 – Nicola Asuni - Tecnick.com - All rights reserved.
about - disclaimer - privacy