Run all Cucumber Given steps before Then steps -
i have several features below test outcome of data processing.
feature: a
scenario: a1 given load data a2 output a1 output_a1
scenario a2 given load data a2 output a2 output_a2
i data loading first , check output later below because faster.
given load data a2 given load data a2
output a1 output_a1 output a2 output_a2
is there way behind scenes , present reports in first case?
i thinking of way tell cucumber run given scenarios first , scenarios later.
cucumber doesn't distinguish between given , keywords can't tell cucumber run givens first.
you set scenario run before others:
scenario: load data given data exists load data
in load of data following scenarios
scenario: a1 given a1 data loaded output a1 output_a1
where given step checks data loading
Comments
Post a Comment