I am getting this horribly ugly output from autotest when a test fails. Normal output from ''rake test'': -- 1) Failure: test_export_format(TaskTest) [./test/unit/task_test.rb:61]: <"Michael Alvarez"> expected but was <nil>. -- Same failure, as seen via autotest: -- 1) Failure: test_export_format(TaskTest) [./test/unit/task_test.rb:61]: --- /var/folders/sv/svC-nvosEl4YtAKb5zULK++++TI/-Tmp-/expect.596.0 2008-02-15 15:27:00.000000000 -0600 +++ /var/folders/sv/svC-nvosEl4YtAKb5zULK++++TI/-Tmp-/butwas.596.0 2008-02-15 15:27:00.000000000 -0600 @@ -1 +1 @@ -Michael Alvarez +<nil> -- This is obviously pretty ugly and annoying. Nobody else I know sees this, yet I see it on both my macs in both OS X 10.4 and 10.5, and this bug has survived the last two upgrades of the ZenTest gem (currently 3.9.1). I''d love to get this cleaned up. Any suggestions? -- Posted via ruby-forum.com. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
could those be ansi color codes? try adding this to the config block in you environment.rb Rails::Initializer.run do |config| ... config.active_record.colorize_logging = false end On Feb 15, 1:35 pm, Evan Dorn <rails-mailing-l...-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote:> I am getting this horribly ugly output from autotest when a test fails. > > Normal output from ''rake test'': > -- > 1) Failure: > test_export_format(TaskTest) [./test/unit/task_test.rb:61]: > <"Michael Alvarez"> expected but was > <nil>. > -- > > Same failure, as seen via autotest: > > -- > 1) Failure: > test_export_format(TaskTest) [./test/unit/task_test.rb:61]: > --- /var/folders/sv/svC-nvosEl4YtAKb5zULK++++TI/-Tmp-/expect.596.0 > 2008-02-15 15:27:00.000000000 -0600 > +++ /var/folders/sv/svC-nvosEl4YtAKb5zULK++++TI/-Tmp-/butwas.596.0 > 2008-02-15 15:27:00.000000000 -0600 > @@ -1 +1 @@ > -Michael Alvarez > +<nil> > -- > > This is obviously pretty ugly and annoying. Nobody else I know sees > this, yet I see it on both my macs in both OS X 10.4 and 10.5, and this > bug has survived the last two upgrades of the ZenTest gem (currently > 3.9.1). I''d love to get this cleaned up. Any suggestions? > -- > Posted viahttp://www.ruby-forum.com.--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe@googlegroups.com For more options, visit this group at groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
On Feb 15, 2008 1:35 PM, Evan Dorn <rails-mailing-list-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote:> I am getting this horribly ugly output from autotest when a test fails.That''s unit_diff output. Sometimes it''s great, sometimes it''s ugly. If you want to turn it off, try putting this in your .autotest file: unit_diff = "cat" ~ j. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
John Barnette wrote:> That''s unit_diff output. Sometimes it''s great, sometimes it''s ugly. If > you want to turn it off, try putting this in your .autotest file: > > unit_diff = "cat"This fixed it. Thank you, thank you! Yer a genius! -- Posted via ruby-forum.com. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---