Displaying 20 results from an estimated 100000 matches similar to: "Make Autotest run integration tests"
2007 Jul 25
3
autotest + integration testing (follow_redirect!) error
I''ve got an interesting (possibly) problem right now between autotest
and rails integration tests. There are a few things to preface this
with.
Works fine:
rake test
rake test:integration
Blows up:
autotest
Autotest is correctly determining rails and runs tests just fine. One
part of the behavior is that if I save a change in just the
integration test (even hitting cmd+s to trigger a
2009 Jul 06
8
how to make ZenTest autotest run whenever my tests change
Railsters:
Despite Rails being the only Web platform designed for TDD, a lot of its test
infrastructure is still "cargo cult" - imitating other test rigs instead of
understanding their principles.
Most importantly, tests should run instantly. There''s no excuse for breaking
this rule, and if you invent a platform that can''t obey it then you are doing
something
2010 Mar 14
2
autotest & rspec2
Hi guys,
I''m trying to find some information on how to get autotest to run the
rspec2 tests. I have my project setup so "rake spec" runs the specs
properly, but autotest seems to ignore/don''t know that there are specs
to test.
I read on the rspec2 wiki that autotest integration is o be added
eventually. Any ideas on how to achieve this?
Thanks,
Jeroen
2007 Aug 08
3
rspec with autotest on a windows machine
Hello all,
I''m new to rSpec but after reading a couple of tutorials I''ve become
enamored. Anyway, I am at minute 42 of the rSpec basics screencast (
peepcode.com) and I''m having the following error running autotest w/rSpec:
D:\ruby\projects\forecaster>autotest
loading autotest/rails_rspec
c:\ruby\bin\ruby -rrubygems -e "require ''redgreen''"
2006 Aug 15
4
How to run autotest(Zentest)
Hi,
When I start the "autotest" it gives me the following error...not sure what
HOME path I have to set...all Ruby/Rails related components are in path!
---
C:\>autotest -rails
C:/Tools/InstantRails/ruby/lib/ruby/gems/1.8/gems/ZenTest-3.3.0/lib/autotest.rb:285:in
`expand_path'': couldn''t find HOME environment -- expanding `~/.autotest''
(ArgumentError)
---
2012 Jun 14
3
Selenium+Autotest: how to run browser in background?
Hey guys
After hours of hard work I finally managed to set up my development
environment to run cucumber scenarios using autotest and selenium.
What''s a bit bugging is the fact that Firefox always jumps to the
foreground when Autotest does its job. How can I keep Firefox in the
background so that I can continue with my work without being
interrupted?
Thanks!
--
Posted via
2009 Mar 22
1
Problem running autotest in rails 2.3
People,
I''m trying to run autotest on rails 2.3
I get a NoMethodError.
Here is what I see:
Sat Mar 21 20:47 /b/tmp/myfc23 maco$
Sat Mar 21 20:47 /b/tmp/myfc23 maco$ autotest
loading autotest/rails_rspec
./vendor/plugins/rspec/lib/autotest/rspec.rb:24:in `initialize'': undefined
method `failed_results_re='' for #<Autotest::RailsRspec:0x1205b88>
(NoMethodError)
2008 Feb 19
0
Playing Sounds with Autotest/RSpec on Cygwin
I''ve read about integrating Growl with Autotest/RSpec to display test results.
For cygwin users - here is a snippet that will play a sound after autotest runs.
Add the code below to your ~/.autotest file.
Modify the path of the .wav file to the sounds you want to play on your system.
Cheers, Andy
vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv
Module
2008 Feb 15
3
Ugly, garbled output from autotest
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]:
---
2008 Nov 19
6
RSpec, TestUnit, Cucumber and Autotest
OS=CentOS-5.2
Ruby=1.8.6
Rails=2.2.1_RC
Gems all up to date
I have been experimenting with autotest and I have a few questions.
1. given export AUTOFEATURES=TRUE if ./test exists (with tests) then
these tests are run and the features are not. Is this intended
behaviour?
2. given require ''autotest/redgreen'' in .autotest if /test tests are run
then all I get colourized is a
2010 Jan 11
4
Autotest - Can make an-install work.
Hey there,
I''m trying to install the autotest.
After installing all the pre-requisites, I installed the sudo gem install
autotest-notification
It tells me to execute an-install
which gives me, command not found.
Any1?
[]''s
Rodrigo Dellacqua
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to
2006 Jul 27
0
autotest on win32 doesn''t see any tests
Trying to run autotest -rails on win32... even after patching the source
to fix the ruby path, and to generate quotes correctly for the Windows
shell, I can''t get it to work.
It will seem to run fine, but it doesn''t see any tests (lists 0 tests, 0
asserts, etc.)
Anyone else have a fix for this? There wasn''t much in the trac about
this one way or the other.
Thanks
2007 Nov 11
8
Autotest with rspec HTML output
Hey all,
I was just wondering if any one has played around with getting
autotest''s rspec integration working with rspec''s HTML output. I really
like how in the rspec textmate bundle the context of the failing code
is inlined with the failing spec along with the exact line highlighted
and a link to the exact spot in reference. However, I rarely use this
nice output since
2007 May 22
1
Running both autotest and rspec_autotest
Hi,
Is it possible to run both autotest and rspec_autotest at the same
time while I convert my tests over to specs? autotest seems to either
want to run one or the other.
Also, rspec_autotest doesn''t seem to red/green the error/successes.
It should, right?
Thanks,
Joe
2008 Jul 03
0
Error on Autotest start
I have been using autotest/zentest 3.5.0 with my rails 2.0.2 and rspec. I
upgraded my gems and got 3.9.3 and had a problem. I went back to 3.5.0 and
it worked. I stayed there until moving to rails 2.1. I again updated my gems
and got 3.10. This one had the same problem. This time I need to figure out
what is wrong. Here is what I get:
2011 May 08
1
Spork + Autotest Failure
Hi folks, I''m going through railstutorial.org and so I apologize if
I''m hitting the wrong group here and would appreciate any appropriate
redirection if necessary.
I''ve set up Spork + Autotest as per Michael''s instructions in
http://ruby.railstutorial.org/chapters/static-pages#sec:testing_tools
Essentially by doing the following (using rvm & I''m
2009 Feb 16
0
[Cucumber] 0 scenarios running "dirty" features in Autotest
When running autotest with AUTOFEATURE=true, all of my specs and
features run fine.
However, if I have a feature containing a scenario that fails, autotest
lists that feature, but then returns "0 scenarios", and then runs all of
the features again.
Any idea why this might be?
Best,
Tom
--
Posted via http://www.ruby-forum.com/.
2007 Dec 19
3
Using autotest + rspec for plain ruby (not rails)
autotest (zentest 3.5.0) + rspec 1.1.1 ask for "spec_autotest.rb", nowhere
to be found...
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/rspec-users/attachments/20071219/d560dfed/attachment.html
2007 Aug 14
0
Using rspec in a non-rails project w/ autotest
Not sure if anyone needs this, but I have successfully been running
rspec/trunk with autotest for a few days now on a non-rails project.
The process is pretty simple:
1. Put rspec into vendor/plugins/rspec (on externals, or simply frozen)
2. Add autotest/discover.rb:
Autotest.add_discovery do
"myproj"
end
3. Add autotest/myproj.rb:
require File.dirname(__FILE__) +
2010 Jan 12
1
[PATCH] Adds the qemu log to the autotest output.
When an autotest finishes running, then the output for the qemu logfile
in /var/log/libvirt/qemu/ is added to the output.
Signed-off-by: Darryl L. Pierce <dpierce at redhat.com>
---
autotest.sh | 14 +++++++++++++-
1 files changed, 13 insertions(+), 1 deletions(-)
diff --git a/autotest.sh b/autotest.sh
index 7503be0..5ccdbbb 100755
--- a/autotest.sh
+++ b/autotest.sh
@@ -41,8 +41,9 @@