tac-cli 0.0.8 → 0.0.9

Sign up to get free protection for your applications and to get access to all the features.
@@ -41,6 +41,7 @@ module CTT::Cli::Command
41
41
  end
42
42
 
43
43
  def run_tests
44
+ say("**** Run multiple tests ****", :yellow)
44
45
  index = 1
45
46
  @suites.suites["suites"].each do |name, _|
46
47
  say("#{index}) start to run test suite: #{name}\n", :yellow)
@@ -90,6 +91,7 @@ module CTT::Cli::Command
90
91
  end
91
92
 
92
93
  def print_cases_summary(summary)
94
+ say("**** Summary for multiple tests ****", :yellow)
93
95
  say("\nFinished in #{format_time(summary[:duration])}")
94
96
 
95
97
  color = :green
@@ -99,7 +101,7 @@ module CTT::Cli::Command
99
101
  end
100
102
 
101
103
  def print_failed_cases(summary)
102
- unless summary[:failed_cases].empty?
104
+ if summary[:failed] > 0
103
105
  say("\nFailures:")
104
106
  summary[:failed_cases].each do |suite, cases|
105
107
  say(" Test Suite: #{suite}", :yellow)
@@ -1,6 +1,6 @@
1
1
 
2
2
  module CTT
3
3
  module Cli
4
- VERSION = '0.0.8'
4
+ VERSION = '0.0.9'
5
5
  end
6
6
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tac-cli
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.8
4
+ version: 0.0.9
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: