Closed avkonst closed 3 years ago
From #282 it looks like you are using an old version of gabbi. This situation is improved (when using gabbi-run
) in newer versions:
FAIL: gabbi-runner.test_bad_body
'400' not found in ['200'], response:
{
"errors": [
{
"id": "ds1/NPukzFqW80-000009:-1",
"status": 400,
"title": "Bad Request",
"detail": "Request body has an error: header 'Content-Type' has unexpected value: \"ponies\""
}
]
}
While developing tests I have noticed that these stack dumps are annoying:
What I am interested in is the last line really. Ideally it should follow right after the test name, which is marked as failed:
Currently I always need to scroll up though the useless stacktrace to find out the test name.