Displaying 2 results from an estimated 2 matches for "textmateformatter".
Did you mean:
text_mate_formatter
2008 Jan 04
1
patch for html display
...or/plugins/rspec/lib/spec/runner/formatter/text_mate_formatter.rb
(revision 906)
+++
/Users/timcharper/www/exchange/vendor/plugins/rspec/lib/spec/runner/formatter/text_mate_formatter.rb
(working copy)
@@ -6,8 +6,9 @@
# Formats backtraces so they''re clickable by TextMate
class TextMateFormatter < HtmlFormatter
def backtrace_line(line)
- line.gsub(/([^:]*\.rb):(\d*)/) do
- "<a
href=\"txmt://open?url=file://#{File.expand_path($1)}&line=#{$2}\">#{$1}:#{$2}</a>
"
+ line.gsub!(/^(On line #([0-9]+) of )(.+)$/) {
"...
2008 May 07
4
Hiding the passes
How do you hide all the green passing examples from the output?
I don''t need to know what has passed and it means I have to scroll to
see what has failed.
--
Posted via http://www.ruby-forum.com/.