search for: rspec_autotest

Displaying 16 results from an estimated 16 matches for "rspec_autotest".

2006 Dec 21
7
rspec_autotest no longer re-runs tests with rspec 0.7.5
Has anyone else encountered this problem? What I mean is, rspec_autotest runs all specs, then waits. When you change a spec, it reruns that spec. However, if that spec now passes, it should run the whole suite again, so you can see the next one to work on. It no longer does this. This renders it somewhat useless. Does anyone have autotest working with rspec 0.7.5...
2007 May 23
4
autotest and rspec for a non-rails project
hi list - should it be possible to use autotest to continuously run specs for a non-rails project? when i execute autotest in the base directory of my project, it complains that it cannot load rspec_autotest, however looking at rspec_autotest[1] and rspec_rails_autotest.rb, it appears as though both are geared towards rails (perhaps even rspec on rails). cheers, jean-pierre [1] http://svn.caldersphere.net/svn/main/rspec_autotest/trunk/lib/rspec_autotest.rb -------------- next part -------------- An...
2006 Dec 21
1
heres how to get color output in rspec_autotest with rspec 0.7.5
In case anyone else is trying to make this work, here is what I did (Before 0.7.4 I had patched the regex in zentest redgreen, but that is not used any more) To use directly, it is very simple. In rspec_autotest/lib/ rspec_autotest.rb, add a -c to the spec_command in the initializer function: @spec_command = "spec -c --diff unified" This won''t help however if you want to use rails_spec_server. To do that I patched rspec_0.7.5 to add an option to force the adding of colour codes...
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 May 03
6
Everyone Using Rspec Autotest?
I haven''t been spec''ing lately, but been hopping back on and adding autotest. However I get an error: http://pastie.caboo.se/177538/wrap I also noticed a post by Scott and there was mention of rspec_autotest. Is this is what everyone is using? http://svn.caldersphere.net/svn/main/plugins/rspec_autotest/
2007 Dec 28
0
rspec_autotest testing with the use of the controller Namespaces
Rails2.0 the official support of namespace, making it easier for people with the usual habit of definition Controller For example,We define the following Controller admin/hacks_controller this class namespace is Admin::HackController When we use rspec_autotest for testing,Will be following error no such file to load -- ./spec/views/hacks/../../spec_helper (LoadError) The wrong reason is very simple. By default, rspec_autotest the loading path and does not take into account the issue of naming space, so it is necessary to be loaded their own. There ar...
2007 Apr 01
11
--color doesn''t work with --drb w/rspec_autotest
If I got this to work, do you think we could/should check in rspec_autotest into rspec? I''ve updated rspec_autotest abit, so let me know if you''d like the modified code. Scott
2007 Oct 26
7
rspec_autotest failing
Is the rspec_autotest plugin mentioned here, http://blog.nicksieger.com/articles/2006/11/15/rspec-autotest-now-a-rails-plugin the accepted method of auto testing specs? It''s an old article, and after grabbing the plugin, and giving it a run, it fails with: $ rake spec:autotest:rails trunk/vendor/plugins/rspec...
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) ---
2007 Mar 28
14
Autotest
Is anyone using rspec with autotest? Scott
2007 Feb 23
5
rspec on rails 0 7 5 1
Hi there, I can''t upgrade rspec on rails to 0.7.5.1. I followed the install guide on the website without sucsess. Here''s my env info: $ rails -v Rails 1.2.2 $ gem -v 0.9.2 $ spec -v RSpec-0.7.5.1 (r1395) - BDD for Ruby http://rspec.rubyforge.org/ $ spec ... <snip> ############################################################################ Your RSpec on Rails plugin
2006 Dec 25
1
Issues with 0.7.5
I installed 0.7.5 and the corresponding Rails plugin. Now it seems that the rake command is: rake spec:autotest I immediately ran into several problems: 1. rspec_autotest.rb line 30 has curly quotes and makes Ruby choke 2. Same line, rails_spec is spelled solid, when it should have the underscore But fixing these didn''t get me back going. Now I have to have a rails_spec_server running in one console window (is this recommended practice?) and rake spe...
2008 Jan 13
10
.html.erb files and autotest
When I work with a .html.erb file, the autotest rspec on rails stuff doesn''t understand the file to map it to the right test. I wanted to submit a patch for this, but I''m unsure where the specs would be to update. I found the necessary mapping in rspec_autotest.rb, but I can''t find any specs anywhere. Help? I just need to have /app/views/coupon/index.html.erb to map to /spec/views/coupon/index_spec.rb -Corey -- http://www.coreyhaines.com The Internet''s Premiere source of information about Corey Haines -------------- next part -------...
2007 Apr 01
4
rake w/rspec
How can I spec out a rake task? How can I use rake in my spec''s? I want to fix this rake spec:autotest bug with --drb and --color. How can I get rake output? How would I get out of autotest? My initial thought is just to run the command in the spec. Scott
2007 Apr 11
13
View Specs Fail with "protected method render"
I''ve got rspec and zentest installed as well as the rspec rails plugin, and my model/controller specs all pass and work well. I can''t seem to get views to work though - 100% of the specs fail with: NoMethodError in ''/users/show.rhtml should render attributes in <p>'' protected method `render'' called for
2007 Apr 13
0
ZenTest 3.5 & RSpec 0.9
The latest release of Autotest, bundled in ZenTest 3.5, now has support for running specs! No longer do we need to use the rspec_autotest plugin, now it-just-works. The only problem is that the script is assuming you have the rspec gem installed. If you''re keeping up with Edge RSpec on your Rails project you''ve probably just included rspec and rspec_on_rails into your vendor/plugins directory, which by default in...