compass.Step.add_output_file

Step.add_output_file(filename)[source]

Add the output file that must be produced by this step and may be made available as an input to steps, perhaps in other test cases. This file must exist after the test has run or an exception will be raised.

Parameters

filename (str) – The relative path of the output file within the step’s work directory