\DeploymentPipelineStepTest
Synopsis
class DeploymentPipelineStepTest
extends PipelineTest
{
- // members
- protected static string $fixture_file = 'PipelineTest.yml';
- // Inherited members from DeploynautTest
- protected type $envPath;
- // methods
- public DeploymentPipelineStep getDummyDeployment()
- public void testSuccessful()
- public void testSnapshotFailure()
- public void testSnapshotSkipped()
- public void testSnapshotSkippedByUser()
- public void testDeploymentFailure()
- public void testDelayedSuccess()
- public void testTimeout()
- // Inherited methods from PipelineTest
- public void setUp()
- protected array getPipelineConfig()
- protected void clearLog()
- protected void assertHasLog()
- protected void assertNotLogged()
- public void assertSentMessage()
- public void assertNotSentMessage()
- // Inherited methods from DeploynautTest
- protected void setTemporaryPath()
- public void setUp()
- public void tearDown()
Hierarchy
Extends
Members
protected
- $envPath — type
- $fixture_file
Methods
public
- getDummyDeployment() — Makes the dummy deployment step
- testDelayedSuccess()
- testDeploymentFailure() — Test failure at the deployment step
- testSnapshotFailure() — Test failure at the snapshot step
- testSnapshotSkipped() — Test snapshot is skipped when environment has no build
- testSnapshotSkippedByUser() — Test snapshot is skipped upon user request.
- testSuccessful()
- testTimeout()
Inherited from PipelineTest
protected
- assertHasLog()
- assertNotLogged()
- clearLog() — Reset logs of scaffolded services
- getPipelineConfig() — Gets the config data from the test pipeline config file
public
Inherited from DeploynautTest
protected
- setTemporaryPath() — Setup the environment to point to a temporary location