Documentation

PHPUnitScanner
in package

Search for PHPUnit test cases

Table of Contents

Methods

_findTestClasses()  : array<string|int, string>
findTestClasses()  : array<string|int, mixed>
findTestsByPath()  : array<string|int, mixed>

Methods

_findTestClasses()

public static _findTestClasses(mixed $path) : array<string|int, string>
Parameters
$path : mixed
Return values
array<string|int, string>

class names

findTestClasses()

public static findTestClasses(mixed $paths) : array<string|int, mixed>
Parameters
$paths : mixed
Tags
throws
Exception
Return values
array<string|int, mixed>

(string $file => string $class)

findTestsByPath()

public static findTestsByPath(array<string|int, mixed> $paths) : array<string|int, mixed>
Parameters
$paths : array<string|int, mixed>
Return values
array<string|int, mixed>

each element is an array with keys:

  • file: string
  • class: string
  • method: string

        
On this page

Search results