Documentation

AntagonistCommand
in package

Class AntagonistCommand

Table of Contents

Methods

findAntagonist()  : array<string|int, mixed>|null
main()  : mixed

Methods

findAntagonist()

public static findAntagonist(string $target, array<string|int, mixed> $candidateTests) : array<string|int, mixed>|null
Parameters
$target : string

E.g. "MyTest::testFoo".

$candidateTests : array<string|int, mixed>

List of strings (e.g. "MyTest::testFoo").

Return values
array<string|int, mixed>|null

array contains keys:

  • antagonist: array
    • file: string
    • class: string
    • method: string
  • expectedResults: array
  • actualResults: array

        
On this page

Search results