banditcpp / bandit

Human-friendly unit testing for C++11
https://banditcpp.github.io/bandit/
Other
260 stars 37 forks source link

Improve option handling #94

Closed sbeyer closed 7 years ago

sbeyer commented 7 years ago

The main change for the user is that options are checked now. By default, option usage errors do not lead to failed return values, but you can add a false to your bandit::run call to enable that.

The main internal change is that the code behind choice-based options like --formatter and --reporter are unified.

The options spec is extended to reflect those changes.