Displaying 20 results from an estimated 9000 matches similar to: "Autotest+RSpec2+Win32console = no color"
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
2011 Jan 14
2
Rspec autotest error
Hi all,
I tried testing with Rspec for first time, following a tutorial.
"rspec spec/" works fine but when I try ''autotest'' it gives me the
error message below. I also made a gist about it: https://gist.github.com/779265
It seems like a redgreen or ZenTest error. I''m using Ubuntu10, Rails3,
Ruby 1.9 and RVM. Any help is appriciated, thanks in advance,
gezope
2010 Apr 15
11
Rails 3, Rspec 2, Autotest
Trying to set up a Rails 3 project with RSpec and Autotest. I followed
these steps exactly:
http://gist.github.com/365816
But when I start up autotest, I get:
$ autotest
loading autotest/rails
style: Rails
instead of:
$ autotest
loading autotest/rails_rspec2
style: RailsRspec2
And autotest doesn''t seem to do anything. Any idea what''s happening?
I''m using Ruby
2010 Oct 06
2
rspec2 observations
Just a few observations now that I have completed the upgrade from RSpec-1 to RSpec-2.
1. In my project (2800 examples across about 40 files), MRI 1.9.2-p0 takes roughly 3 times longer to complete the spec run. Runtimes grew from 2.2s (rspec 1.3.0) to 6.1s (2.0.0.rc).
2. Rubinius 1.1.0 runs RSpec-2 without error.
3. JRuby 1.5.1 runs RSpec-2 without error.
4. Both Rubinius and JRuby print a
2007 Oct 31
12
autotest displays no output
Hey, I''m trying to configure autotest with rspec on cygwin but something is
going wrong.
I made a very simple testing environment with a user.rb and user_spec.rb
file. Rspec works fine, but autotest outputs nothing - it just stays here,
idle. ^C doesn''t display anything more.
I can see it''s running because I added require ''autotest/snarl'' in my
2006 Jun 01
1
adding color to autotest output
I was wondering if anyone had a quick an easy way to add color to the
autotest output. I just want a nice green splash somewhere on
success, and red on failure - I miss the Eclipse xUnit plugin''s easy
feedback where I didn''t have to read log output. =)
- rob
--
http://www.robsanheim.com
http://www.seekingalpha.com
http://www.ajaxian.com
2008 Feb 24
6
Rails 2.0/Autotest "Color is not a class"
I''ve made a model called Color to manage custom styles for my
application. It works find when I''m running it locally in Mongrel,
and I haven''t tried to deploy it yet.
I use ZenTest and Autotest, and when I run autotest I''m getting the
following message:
"C:/rails/band/trunk/app/models/color.rb:1: Color is not a class
(TypeError)"
My Color model is
2011 Feb 21
4
autotest with Growl not working
Hi I''m new and using Ruby on Rails 3 but when I run $ autotest nothing
happens (I have growl installed). If I run $ rspec spec then I get the
''Finished in 0.07253 seconds seconds 2 example, 0 failures'' message
I have the following gems installed for autotest (checked via $ gem
list):
autotest (4.3.2)
autotest-fsevent (0.2.4, 0.2.2)
autotest-growl (0.2.9, 0.2.4)
2009 Oct 08
0
autospec cannont find gems
I am trying to install rspec for rails and have the following gems
install
C:\INSTAN~3.0-W\rails_apps\katai>gem list --local
*** LOCAL GEMS ***
actionmailer (2.3.4, 2.0.2)
actionpack (2.3.4, 2.0.2)
activerecord (2.3.4, 2.0.2)
activeresource (2.3.4, 2.0.2)
activesupport (2.3.4, 2.0.2)
authlogic (2.1.2)
autotest-rails (4.1.0)
builder (2.1.2)
capistrano (2.5.9, 2.1.0)
cgi_multipart_eof_fix
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
2007 Aug 18
6
RSpec: "--color" not working in spec.opts when combined with "--drb"
Windows XP SP 2
ruby 1.8.5
gems:
rails 1.2.3
rake 0.7.3
win32console 1.0.8
plugins:
rspec 1.0.8
rspec_rails 1.0.8
spec.opts:
--colour
--format
progress
--loadby
mtime
--reverse
--drb
When I run "rake spec" or "ruby script/spec spec --color" this is the
output:
D:\dev\project>rake spec
(in D:/dev/project)
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 @@
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)
2011 Mar 27
0
Autotest, cucumber, spork and the wrong file
Running:
Rails 3.0.5
ZenTest 4.5.0
autotest (4.4.6, 4.3.2)
autotest-fsevent (0.2.5, 0.2.2)
autotest-growl (0.2.9, 0.2.4)
autotest-rails (4.1.0)
autotest-rails-pure (4.1.2, 4.1.0)
cucumber (0.10.2)
cucumber-rails (0.4.0)
spork (0.9.0.rc4)
Gives me a truly bizarre situation. When I touch my features file,
autotest runs a single, unrelated rspec test.
Cucumber alone or with spork gives me the
2011 Dec 23
1
/gems/ZenTest-4.6.2/lib/autotest.rb:315:in `load': /Users/jayparteek/.autotest:7: invalid multibyte char (US-ASCII) (SyntaxError)
I am using latest version for rspec-rails, ZenTest. I am getting
following error, when ever I try to run autotest.
Please help
-head at mhart6/gems/ZenTest-4.6.2/lib/autotest.rb:315:in `load'': /Users/
jayparteek/.autotest:7: invalid multibyte char (US-ASCII)
(SyntaxError)
2008 Feb 01
1
Autotest just sits there
I have had this problem for a while.
autotest has never worked properly for me. I have tried different
versions of rspec with different versions of ZenTest. I have tried it
with .autotest files and without.
When I run autotest from my rails app root, it says:
loading autotest/rails_rspec
and then it just sits there.
If I look at the output from autotest -v, it is traversing the tree and
it
2009 Dec 15
1
[PATCH] The autotest timeout is now a command line configurable option.
By default it's 120 ms, but can be changed through command line
arguments.
Signed-off-by: Darryl L. Pierce <dpierce at redhat.com>
---
autotest.sh | 16 ++++++++++------
1 files changed, 10 insertions(+), 6 deletions(-)
diff --git a/autotest.sh b/autotest.sh
index c67931a..bcd9bd5 100755
--- a/autotest.sh
+++ b/autotest.sh
@@ -62,6 +62,7 @@ Usage: $ME [-n test_name] [LOGFILE]
-i:
2008 Mar 20
1
Combining autotest, rspec, rspec_on_rails and spec-server
Hello,
I''ve been trying to google the definitive way to combine autotest,
rspec, and spec-server, but to no avail. It seems like there are lots
of suggestions from old versions. Furthermore, some commands such as
rake:autotest don''t seem to be around anymore.
So, is it required to install ZenTest as a gem? I have version 3.9.1.
I believe this gets me the autotest