function Skip::__construct

Same name and namespace in other branches
  1. main core/tests/Drupal/TestTools/Attribute/Skip.php \Drupal\TestTools\Attribute\Skip::__construct()

Constructs a Skip object.

Parameters

string $message: (optional) Information about why the test is skipped.

File

core/tests/Drupal/TestTools/Attribute/Skip.php, line 26

Class

Skip
Defines an attribute to mark tests as skipped.

Namespace

Drupal\TestTools\Attribute

Code

public function __construct(public readonly string $message = '') {
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.