Class: Kapnismology::RakeTask
- Inherits:
-
Object
- Object
- Kapnismology::RakeTask
- Defined in:
- lib/kapnismology/rake_task.rb
Instance Method Summary collapse
Instance Method Details
#output(allowed_tags = [SmokeTest::RUNTIME_TAG], blacklist = []) ⇒ Object
4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
# File 'lib/kapnismology/rake_task.rb', line 4 def output( = [SmokeTest::RUNTIME_TAG], blacklist = []) evaluations = SmokeTestCollection.evaluations(, blacklist) puts puts evaluations.each do |evaluation| puts evaluation.to_s puts end if evaluations.passed? puts Terminal.green('All smoke tests passed successfully!') else abort Terminal.red('We have some failures in our smoke tests') end end |