'Capture group object
:type parser: caper.parsers.base.Parser
:type result: caper.result.CaperResult'

def __init__(self, parser, result):

    self.parser = parser
    self.result = result
    self.steps = []
    self.step_source = None
    self.pre_constraints = []
    self.post_constraints = []
