diff options
author | Bardur Arantsson <bardur@scientician.net> | 2015-08-01 16:35:25 +0200 |
---|---|---|
committer | Bardur Arantsson <bardur@scientician.net> | 2015-09-14 05:58:27 +0200 |
commit | 7b9f4e4e8169ca2fad3a1c7ca03f07ecfc46678e (patch) | |
tree | 0cef1ac0dc228b621afc90bc94e4e0dddcb90c82 /vendor/bandit/bandit/runner.h | |
parent | c6196b25d119a10e79deedef26a73e0d5a021b0e (diff) |
Bandit 2.0.0
Diffstat (limited to 'vendor/bandit/bandit/runner.h')
-rw-r--r-- | vendor/bandit/bandit/runner.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/vendor/bandit/bandit/runner.h b/vendor/bandit/bandit/runner.h index 5df11005..1f8dcd11 100644 --- a/vendor/bandit/bandit/runner.h +++ b/vendor/bandit/bandit/runner.h @@ -7,7 +7,7 @@ namespace bandit { inline run_policy_ptr create_run_policy(const options& opt) { - return run_policy_ptr(new bandit_run_policy(opt.skip(), opt.only())); + return run_policy_ptr(new bandit_run_policy(opt.skip(), opt.only(), opt.break_on_failure())); } inline listener_ptr create_reporter(const options& opt, @@ -25,6 +25,11 @@ namespace bandit { return std::unique_ptr<detail::listener>(new xunit_reporter(*formatter)); } + if(name == "info") + { + return std::unique_ptr<detail::listener>(new info_reporter(*formatter, colorizer)); + } + if(name == "spec") { return std::unique_ptr<detail::listener>(new spec_reporter(*formatter, colorizer)); |