Test
class Test
Class Test
A facade for managing the test environment.
Methods
static string|array|NULL
dsn(string|NULL $part = NULL)
Get the data source used for testing.
static CiviEnvBuilder
headless()
Create a builder for the headless environment.
static CiviEnvBuilder
e2e()
Create a builder for end-to-end testing on the live environment.
static bool
execute(string $query)
Prepare and execute a batch of SQL statements.
Details
at line 28
static string|array|NULL
dsn(string|NULL $part = NULL)
Get the data source used for testing.
at line 50
static PDO
pdo()
Get a connection to the test database.
at line 79
static CiviEnvBuilder
headless()
Create a builder for the headless environment.
at line 109
static CiviEnvBuilder
e2e()
Create a builder for end-to-end testing on the live environment.
at line 123
static Schema
schema()
at line 133
static Data
data()
at line 146
static bool
execute(string $query)
Prepare and execute a batch of SQL statements.