[macruby-changes] [2266] MacRuby/trunk/mspec/lib/mspec/runner
source_changes at macosforge.org
source_changes at macosforge.org
Sat Aug 8 17:02:57 PDT 2009
Revision: 2266
http://trac.macosforge.org/projects/ruby/changeset/2266
Author: mattaimonetti at gmail.com
Date: 2009-08-08 17:02:56 -0700 (Sat, 08 Aug 2009)
Log Message:
-----------
added dot output when the specs are running
Modified Paths:
--------------
MacRuby/trunk/mspec/lib/mspec/runner/actions/macruby_stats.rb
MacRuby/trunk/mspec/lib/mspec/runner/formatters/macruby.rb
Modified: MacRuby/trunk/mspec/lib/mspec/runner/actions/macruby_stats.rb
===================================================================
--- MacRuby/trunk/mspec/lib/mspec/runner/actions/macruby_stats.rb 2009-08-09 00:02:54 UTC (rev 2265)
+++ MacRuby/trunk/mspec/lib/mspec/runner/actions/macruby_stats.rb 2009-08-09 00:02:56 UTC (rev 2266)
@@ -74,6 +74,7 @@
end
def expectation(state)
+ print "."
@stats.expectation! MSpec.retrieve(:file)
end
Modified: MacRuby/trunk/mspec/lib/mspec/runner/formatters/macruby.rb
===================================================================
--- MacRuby/trunk/mspec/lib/mspec/runner/formatters/macruby.rb 2009-08-09 00:02:54 UTC (rev 2265)
+++ MacRuby/trunk/mspec/lib/mspec/runner/formatters/macruby.rb 2009-08-09 00:02:56 UTC (rev 2266)
@@ -35,7 +35,7 @@
@stats.categories.each do |category, subcategories|
print "#{category}:\n"
subcategories.each do |subcat, stats|
- print " #{subcat} stats: #{stats[:failures]} failures, #{stats[:errors]} errors (#{stats[:examples]} examples, #{stats[:expectations]} expectations, #{stats[:files]} files) \n"
+ print " #{subcat}: #{stats[:failures]} failures, #{stats[:errors]} errors (#{stats[:examples]} examples, #{stats[:expectations]} expectations, #{stats[:files]} files) \n"
end
end
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-changes/attachments/20090808/f69e4c0b/attachment-0001.html>
More information about the macruby-changes
mailing list