compass.TestCase.add_step

TestCase.add_step(step, run_by_default=True)[source]

Add a step to the test case

Parameters
  • step (compass.Step) – The step to add

  • run_by_default (bool, optional) – Whether to add this step to the list of steps to run when the run() method gets called. If run_by_default=False, users would need to run this step manually.