dox Executable Documentation

Stepper command

Non existing state file

Given the step 'NonExistingStateOne'
When I execute the command with the state file 'NonExisting.state'
Then the file 'NonExisting.state' should contain 'NonExistingStateOne'

Load and save state

Given the file 'my.state' with the content 'MyStepOne'
Given the step 'MyStepOne' with the next step 'MyStepTwo'
Given the step 'MyStepTwo' with the next step 'MyStepThree'
Given the step 'MyStepThree'
When I execute the command with the state file 'my.state'
Then the log should be array('Migrating up [MyStepTwo]', 'Migrating up [MyStepThree]')
Then the file 'my.state' should contain 'MyStepThree'