LiveDetectionTrait
Mix-in for detecting whether a live test environment is currently running.
Tags
Table of Contents
- $hasLiveDetectionTrait : bool
- Flag to allow other traits to test for the presence of this one (to enforce dependencies).
- continuousIntegrationRunning() : bool
- Is this test running in a continuous integration context?
Properties
$hasLiveDetectionTrait
Flag to allow other traits to test for the presence of this one (to enforce dependencies).
public
bool
$hasLiveDetectionTrait
= true
Methods
continuousIntegrationRunning()
Is this test running in a continuous integration context?
public
continuousIntegrationRunning() : bool