I don't think I've used it for a long time, but I don't think I've used autotest for auto-running of rails tests for a long time either.
The autotest for js is also included in the newjs gems' rails generator too, as far as I remember. Nic On Thu, Jan 28, 2010 at 12:59 PM, Gabe Hollombe <g...@avantbard.com> wrote: > Thanks for the tips, everybody. > > Nic: Do you still use > http://drnicutilities.rubyforge.org/svn/plugins/javascript_test_autotest/for > automatically re-running js unit tests in the browser? > > -g > > On Wed, Jan 27, 2010 at 3:10 PM, Dr Nic Williams <dr...@mocra.com> wrote: > >> Late last year http://github.com/jnicklas/capybara/ was released which is >> a webrat replacement and includes the ability to run a sequence of commands >> in browser rather than over rails integration test session. That is, it will >> run the javascript. >> >> With the latest cucumber, you even get a --capybara flag to choose it >> instead of webrat. >> >> script/generate cucumber --capybara >> >> Then add @javascript tags to scenarios/features that need to be run in a >> browser (headless). It's optional because it is slower. >> >> Nic >> >> >> On Wed, Jan 27, 2010 at 2:03 PM, m...@keithpitt.com >> <m...@keithpitt.com>wrote: >> >>> Take a look at this: >>> >>> >>> http://drnicwilliams.com/2009/11/12/dead-simple-javascript-unit-testing-in-rails/ >>> >>> And this: >>> >>> http://drnicwilliams.com/2008/01/04/autotesting-javascript-in-rails/ >>> >>> Should be everything you need to know. >>> >>> -- >>> You received this message because you are subscribed to the Google Groups >>> "Ruby or Rails Oceania" group. >>> To post to this group, send email to rails-ocea...@googlegroups.com. >>> To unsubscribe from this group, send email to >>> rails-oceania+unsubscr...@googlegroups.com<rails-oceania%2bunsubscr...@googlegroups.com> >>> . >>> For more options, visit this group at >>> http://groups.google.com/group/rails-oceania?hl=en. >>> >>> >> >> >> -- >> Dr Nic Williams >> Mocra - Premier Ruby on Rails Consultants >> w - http://mocra.com >> twitter - @drnic >> skype - nicwilliams >> e - dr...@mocra.com >> p - +61 412 002 126 or +61 7 3102 3237 >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Ruby or Rails Oceania" group. >> To post to this group, send email to rails-ocea...@googlegroups.com. >> To unsubscribe from this group, send email to >> rails-oceania+unsubscr...@googlegroups.com<rails-oceania%2bunsubscr...@googlegroups.com> >> . >> For more options, visit this group at >> http://groups.google.com/group/rails-oceania?hl=en. >> > > -- > You received this message because you are subscribed to the Google Groups > "Ruby or Rails Oceania" group. > To post to this group, send email to rails-ocea...@googlegroups.com. > To unsubscribe from this group, send email to > rails-oceania+unsubscr...@googlegroups.com<rails-oceania%2bunsubscr...@googlegroups.com> > . > For more options, visit this group at > http://groups.google.com/group/rails-oceania?hl=en. > -- Dr Nic Williams Mocra - Premier Ruby on Rails Consultants w - http://mocra.com twitter - @drnic skype - nicwilliams e - dr...@mocra.com p - +61 412 002 126 or +61 7 3102 3237 -- You received this message because you are subscribed to the Google Groups "Ruby or Rails Oceania" group. To post to this group, send email to rails-ocea...@googlegroups.com. To unsubscribe from this group, send email to rails-oceania+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rails-oceania?hl=en.