Closed cdent closed 7 years ago
Nice, thanks for this!
Only one minor concern: It seems unusual to parameterize -v
, so it might be nice if gabbi-run --verbose
behaved like gabbi-run --verbose=all
? But IIRC argparse doesn't allow for that kind of flexibility.
But IIRC argparse doesn't allow for that kind of flexibility.
Yeah, I looked into that and couldn't figure it out so gave up with hope for future generations.
A value of 'all', 'headers' or 'body' will have the expected effect on all the tests being run in the current testing session.
This is done by manipulating the 'defaults' of each test suite.
Fixes: #185
/cc @FND @tomviner