\DryRunPipelineTest
Synopsis
class DryRunPipelineTest
extends PipelineTest
{
- // members
- protected static string $fixture_file = 'PipelineTest.yml';
- // Inherited members from DeploynautTest
- protected type $envPath;
- // methods
- public Pipeline getDummyPipeline()
- public DeploymentPipelineStep getDummyDeployment()
- public RollbackStep getDummyRollback()
- public void testMessages()
- public void testDeployment()
- public void testRollback()
- public SmokeTestPipelineStep getDummySmokeTestStep()
- public void testSmokeTestFail()
- // 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
- getDummyPipeline() — Makes the dummy pipeline
- getDummyRollback()
- getDummySmokeTestStep() — Make the dummy deployment step
- testDeployment() — Test deployments dont do anything
- testMessages() — Test messages aren't sent
- testRollback() — Test the rollback step
- testSmokeTestFail() — Test failed smoke test
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