What's the command for running a single spec test file? Is glycerin required, or is there some test script that handles the includes automatically?
on 2007-11-24 05:24
on 2007-11-24 06:21
Hi Robert, I run single spec file from within my ide. The requires I have in a spec file are: require File.join(File.dirname(__FILE__), "..", "..", "..", "..", "helper.rb") require "og/adapter/dbi" Not sure if this helps, I suspect you are asking about the rake tasks? Mark
on 2007-11-24 09:11
Just do 'rake -T' in the top level dir and you should see all your options: ... rake test:raw:raw:context:flash # Run test raw:context:flash of raw rake test:raw:raw:context:request # Run test raw:context:request of raw rake test:raw:raw:dispatcher # Run test raw:dispatcher of raw rake test:raw:raw:dispatcher:format # Run test raw:dispatcher:format of raw ... Loading of glycerin doesn't happen automatically, I have these in a file called 'setnitro': export PATH=/home/plexus/work/nitro_repo/nitro/bin:$PATH export RUBYOPT='-rubygems -I/home/plexus/work/nitro_repo/script -rlib/glycerin -I/home/plexus/work/facets/lib/' When I'm doing Nitro stuff I first do . setnitro HTH (ab) Mark Van De Vyver schreef: