Documentation

TestSuite
in package

AbstractYes
Tags
psalm-immutable
no-named-arguments

Parameter names are not covered by the backward compatibility promise for PHPUnit

Table of Contents

Properties

$count  : int
$name  : string
$tests  : TestCollection

Methods

__construct()  : mixed
count()  : int
isForTestClass()  : bool
isForTestMethodWithDataProvider()  : bool
isWithName()  : bool
name()  : string
tests()  : TestCollection

Properties

$name read-only

private string $name
Tags
psalm-var

non-empty-string

Methods

__construct()

public __construct(string $name, int $size, TestCollection $tests) : mixed
Parameters
$name : string
$size : int
$tests : TestCollection
Tags
psalm-param

non-empty-string $name

count()

public count() : int
Return values
int

isForTestClass()

public isForTestClass() : bool
Tags
psalm-assert-if-true

TestSuiteForTestClass $this

Return values
bool

isForTestMethodWithDataProvider()

public isForTestMethodWithDataProvider() : bool
Tags
psalm-assert-if-true

TestSuiteForTestMethodWithDataProvider $this

Return values
bool

isWithName()

public isWithName() : bool
Tags
psalm-assert-if-true

TestSuiteWithName $this

Return values
bool

name()

public name() : string
Tags
psalm-return

non-empty-string

Return values
string

        
On this page

Search results