joevandyk-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
2006-Sep-14 13:56 UTC
Creating infrequently running tests
Hi, I''d like to create some unit tests that don''t get ran automatically (i.e. stuff that talks to remote servers, performance tests that require inserting a billion rows, etc). What''s the best way of doing that? Where would the tests go? I assume that to run them I''d just create another rake task. Thanks, Joe --~--~---------~--~----~------------~-------~--~----~ 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 http://groups.google.com/group/rubyonrails-talk -~----------~----~----~----~------~----~------~--~---
joevandyk-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
2006-Sep-14 13:58 UTC
Re: Creating infrequently running tests
Hm, I suppose one way to do it would be to have the infrequently-ran tests check for ENV[''RUN_ALL_TESTS''] (which gets set by the rake task ''run_all_tests'')... --~--~---------~--~----~------------~-------~--~----~ 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 http://groups.google.com/group/rubyonrails-talk -~----------~----~----~----~------~----~------~--~---