summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--lib/bacon.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/bacon.rb b/lib/bacon.rb
index ad4df44..6ba913b 100644
--- a/lib/bacon.rb
+++ b/lib/bacon.rb
@@ -23,6 +23,7 @@ module Bacon
 
   def self.summary_on_exit
     return  if Counter[:installed_summary] > 0
+    @timer = Time.now
     at_exit {
       handle_summary
       if $!
@@ -68,7 +69,7 @@ module Bacon
     end
 
     def handle_summary
-      puts
+      puts "", "Finished in #{Time.now - @timer} seconds."
       puts ErrorLog  if Backtraces
       puts "%d tests, %d assertions, %d failures, %d errors" %
         Counter.values_at(:specifications, :requirements, :failed, :errors)