Hi guys I''m new to rspec and was wondering if there is a quick setup to get it to work with autotest, sans rails. Thanks -- Jim Freeze -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/rspec-users/attachments/20070919/f7eecd9e/attachment.html
http://grasprubyonrails.com/2007/9/17/rspec-and-autotest read the comment I posted too. Comment on it if you have any problems. On 9/19/07, Jim Freeze <jim at freeze.org> wrote:> Hi guys > > I''m new to rspec and was wondering if there is a quick setup to get it to > work with autotest, sans rails. > > Thanks > > > -- > Jim Freeze > _______________________________________________ > rspec-users mailing list > rspec-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/rspec-users >
It''s pretty easy to get set up. The reference Lance gave is good. If you want something a little more indepth, I would recommend Geoffrey Grossenbach''s rSpec series he has available at http://www.peepcode.com. On 9/19/07, Lance Carlson <lancecarlson at gmail.com> wrote:> > http://grasprubyonrails.com/2007/9/17/rspec-and-autotest > > read the comment I posted too. Comment on it if you have any problems. > > On 9/19/07, Jim Freeze <jim at freeze.org> wrote: > > Hi guys > > > > I''m new to rspec and was wondering if there is a quick setup to get it > to > > work with autotest, sans rails. > > > > Thanks > > > > > > -- > > Jim Freeze > > _______________________________________________ > > rspec-users mailing list > > rspec-users at rubyforge.org > > http://rubyforge.org/mailman/listinfo/rspec-users > > > _______________________________________________ > rspec-users mailing list > rspec-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/rspec-users >-- Jeff Whitmire Ruby Hackinator Grockit http://grockit.com Think. Learn. Be. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/rspec-users/attachments/20070919/a66f1a98/attachment.html
On 9/19/07, Lance Carlson <lancecarlson at gmail.com> wrote:> > http://grasprubyonrails.com/2007/9/17/rspec-and-autotestThanks Lance, but the link seems to be about rspec + autotest + rails. I need sans rails, i.e., rspec + autotest + ruby. Jim read the comment I posted too. Comment on it if you have any problems.> > On 9/19/07, Jim Freeze <jim at freeze.org> wrote: > > Hi guys > > > > I''m new to rspec and was wondering if there is a quick setup to get it > to > > work with autotest, sans rails. > > > > Thanks > > > > > > -- > > Jim Freeze > > _______________________________________________ > > rspec-users mailing list > > rspec-users at rubyforge.org > > http://rubyforge.org/mailman/listinfo/rspec-users > > > _______________________________________________ > rspec-users mailing list > rspec-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/rspec-users >-- Jim Freeze -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/rspec-users/attachments/20070919/eb7cc35f/attachment.html
On 9/19/07, Jim Freeze <jim at freeze.org> wrote:> On 9/19/07, Lance Carlson <lancecarlson at gmail.com> wrote: > > http://grasprubyonrails.com/2007/9/17/rspec-and-autotest > > > Thanks Lance, but the link seems to be about rspec + autotest + rails. > I need sans rails, i.e., rspec + autotest + ruby.Install the rspec and ZenTest gems, create parallel lib and spec directories in your project root and type: autotest In this case, autotest will map files in your lib and spec directories as follows: lib/path/to/some/file.rb spec/path/to/some/file_spec.rb Let us know if you have any other questions. Cheers, David> > Jim > > > > read the comment I posted too. Comment on it if you have any problems. > > > > On 9/19/07, Jim Freeze <jim at freeze.org> wrote: > > > Hi guys > > > > > > I''m new to rspec and was wondering if there is a quick setup to get it > to > > > work with autotest, sans rails. > > > > > > Thanks > > > > > > > > > -- > > > Jim Freeze > > > _______________________________________________ > > > rspec-users mailing list > > > rspec-users at rubyforge.org > > > http://rubyforge.org/mailman/listinfo/rspec-users > > > > > _______________________________________________ > > rspec-users mailing list > > rspec-users at rubyforge.org > > http://rubyforge.org/mailman/listinfo/rspec-users > > > > > > -- > Jim Freeze > _______________________________________________ > rspec-users mailing list > rspec-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/rspec-users >
If you''re on Mac and a fan of Growl, you can also check out an article I wrote/updated at http://devillecompanies.org/2007/08/14/ growl-autotest-and-rspec-108 Enjoy. Jim Deville On Sep 19, 2007, at 1:13 PM, Jim Freeze wrote:> On 9/19/07, Lance Carlson <lancecarlson at gmail.com> wrote: > http://grasprubyonrails.com/2007/9/17/rspec-and-autotest > > > Thanks Lance, but the link seems to be about rspec + autotest + > rails. > I need sans rails, i.e., rspec + autotest + ruby. > > Jim > > > read the comment I posted too. Comment on it if you have any problems. > > On 9/19/07, Jim Freeze <jim at freeze.org> wrote: > > Hi guys > > > > I''m new to rspec and was wondering if there is a quick setup to > get it to > > work with autotest, sans rails. > > > > Thanks > > > > > > -- > > Jim Freeze > > _______________________________________________ > > rspec-users mailing list > > rspec-users at rubyforge.org > > http://rubyforge.org/mailman/listinfo/rspec-users > > > _______________________________________________ > rspec-users mailing list > rspec-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/rspec-users > > > > -- > Jim Freeze > _______________________________________________ > rspec-users mailing list > rspec-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/rspec-users-------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/rspec-users/attachments/20070923/8882e7fd/attachment.html
Possibly Parallel Threads
- Anvil: an application framework
- How to run autotest(Zentest)
- /gems/ZenTest-4.6.2/lib/autotest.rb:315:in `load': /Users/jayparteek/.autotest:7: invalid multibyte char (US-ASCII) (SyntaxError)
- ZenTest-3.9.0 incompatible with RSpec-1.1.2
- RSpec 1.1.3 + ZenTest 3.9.1 + Rails 1.2.6 do NOT ignore folders ^vendor/*