
Context: While trying to create an helper library to manage http rest api testing, I made a system witch allow to pick value from responses, header, cookie, ... and inject then as variables. Issue: Doing this, when the inject variable make the line longer than the longest declared step, godog will failed to render test result under pretty formatting cause it will try to write a comment on a negative index Fix: Fix s methods so it will not goes to fatal when recieving negative number.
10 строки
Без EOL
426 Б
Text
10 строки
Без EOL
426 Б
Text
...................................................................... 70
|
|
...................................................................... 140
|
|
...................................................................... 210
|
|
...................................................................... 280
|
|
........................... 307
|
|
|
|
|
|
79 scenarios (79 passed)
|
|
307 steps (307 passed)
|
|
0s |