similar to: spec_server

Displaying 20 results from an estimated 6000 matches similar to: "spec_server"

2007 May 21
4
slow execution times using spec_server
hi all I''m seeing strange behaviour when running specs using spec_server. They take longer to execute, and it looks like none of examples are being run. here''s the output for a simple spec file using just the spec command: ---------- foo at holly:~/rails/allison$ time ruby/script spec spec/models/listing_spec.rb ...... Finished in 0.060469 seconds 6 examples, 0 failures <
2007 Dec 12
3
Problem running examples with spec_server
Hello, Running RSpec without DRB works fine. However, "spec -X" runs without error but provides no output at all, even though the DRB spec_server seems to be fine. Has anyone got some suggestions as to why and how to fix? RSpec: 1-1-0RC1 build time 20071212145122 RSpec on Rails: Build time 20071212145122 Ruby: 1.8.6 Rails: 2-0-1 Win XP SP 2 Thanks very much, Dave -------------- next
2007 May 25
0
still seeing strange behaviour with spec_server
hi all a few days ago i reported spec_server didn''t appear to be running specs and the command itself was running slowly. I''ve since tried it on a new system with a clean install of ubuntu 7.04, rails 1.2.3 and rspec 1.0.2 and I''m seeing the same behavior. *** without spec_server *** x at holly:~/rails/test$ time ruby script/spec spec/models/user_spec.rb . Finished in
2007 Nov 01
3
no speed up with spec_server
Hey guys, I''m running spec_server and using --drb with my specs in Rails, and I''m seeing virtually no speed up. I''m using rspec/rspec_on_rails trunk. Is there something I''m doing wrong? TIA, Jeremy -- Jeremy Stephens Computer Systems Analyst I School of Medicine Department of Biostatistics Vanderbilt University
2007 Jun 21
3
Sqlite3, in-memory db and rspec_server
Hi everyone. I can''t get the above(subject line) combination to work. If I use a standard sqlite3 file db for the test db, and spec_server all the specs on my models pass. If I use an in-memory db for the test db, script/spec w/o spec_server, they all pass. But if I use in-memory and spec_server I get the following error: 1) ActiveRecord::StatementInvalid in ''User should be
2007 Oct 26
4
spec_server doesn''t update ''required'' files
I have some specs that ''require'' other files. When running spec_server, if these required files are changed, it''s not picked up when the specs are run. I have to restart spec_server to get the changes recognized. Is there an option or some such to have spec_server reload required files as well when a spec is run? Thanks, Steve
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
2009 Oct 06
3
rspec-rails 1.2.9 Released
rspec-rails version 1.2.9 has been released! * <http://rspec.info> * <http://rubyforge.org/projects/rspec> * <http://github.com/dchelimsky/rspec-rails> * <http://wiki.github.com/dchelimsky/rspec/rails> * <rspec-devel at rubyforge.org> Behaviour Driven Development for Ruby on Rails. Changes: ### Version 1.2.9 / 2009-10-05 * enhancements * added route_to and
2008 Jan 31
1
DRb does not activate using options file
Hello List, For a small project I''ve been using ''ruby script/spec -X spec'' to execute my specs. Now that I added ZenTest on it, found that the test takes longer to run due the complete load of test environment. Since autotest uses ''script/spec -O spec/spec.opts'' as the command, I decided to add --drb to spec.opts Using --drb or -X, spec_server is
2008 Mar 13
6
What is SpecServer?
I have looked through the docs, looked at the code, even gave a cursory (2 page) glance at google, and it is not clear to me what SpecServer is or what it is for. Is it meant to speed up the execution of specs in a rails environment by doing some magic on the database? Or I am thinking it keeps a copy of Rails running to avoid the rails reload delay... Is there any documentation on this so I
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 Oct 08
17
(no subject)
Just ran svn up this morning, and got this (after running ./script/ generate rspec) escher: ./script/spec spec/models/item_spec.rb Finished in 8.0e-06 seconds 0 examples, 0 failures ./script/spec:4:in `run'': wrong number of arguments (3 for 1) (ArgumentError) from ./script/spec:4 Using rails 1.2.3, rspec trunk, on Mac OS X.4.9. Any ideas, or is this a bug in
2007 Nov 23
3
Creation of spec.opts spec_helper etc
When do these files, along with lib/spec and lib/spec_server get created? I tried to create a quick test project and can''t remember how they were created in a previous project. Thanks -- Posted via http://www.ruby-forum.com/.
2007 May 23
3
log file
hi, When running rails spec tests is there a log file generated? i''m looking for generated sql to help me debug like in development.log or is there a way to run the test against a webrick server so i can see logs? (i''m not running with spec_server at the moment, it doesnt seem to work well with autotest) thanks linoj
2007 Nov 13
2
Spec slowdown
Is there something currently going on on the rspec trunk that causes a massive slowdown when running rake spec and autotest (without spec_server)? I updated to the latest trunk yesterday and the time needed to run the specs of my app jumped from ~20 seconds to more than a minute. The weird thing is that if I run the rake spec tasks separately (controllers, models, views, helpers), they
2008 Aug 24
0
Running specs within a spec server
Hi guys. I''m unable to run my specs through a spec server. I''ve spent several hours searching and playing around with this problem, and I simply can''t find a solution. So if anyone has any suggestions, I''m all ears. Does script/server need to be running in conjunction with the spec server? I have "--drb" specified in spec/spec.opts . I start
2007 Jun 07
4
checking associated objects have been deleted
I have the following model: class Book < ActiveRecord::Base has_many :taggings, :dependent => :delete_all has_many :tags, :through => :taggings end is it possible to check that associated taggings are being destroyed using mocks? I don''t want to test that rails is deleting the associations, I want to test that I have specified the association as a dependent one. the only
2007 Apr 09
10
changes in 0.8 and greater - should_
Has the should_... syntax changed? I''m getting errors when running the following: should_render(:index) should_be_valid should_not_be_valid should_respond_to should_be should_render I thought the syntax changed to something like the following: obj.should render(:index) but this doesn''t seem to work. Scott
2007 Feb 26
15
drbspec - "no server running"
At times I''ve gotten the message "No Server Running" from drbspec with my rails app. The thing is, the drb server certainly is running! This happened a few times with my model specs. I''m not sure exactly what the problem was there - I believe I was loading up fixtures that didn''t exist. I was calling fixtures :singular_table_name as opposed to
2007 Feb 27
8
Using a subversion repository to spec in a rails app
Is it a bad practice to use a subversion repository to the trunk of rspec and rspec_on_rails? Or rather, is it doomed to fail, since my gem will always be out of date? I know I can''t use spec, installed from gem,s if I have the latest revision of rspec and rspec_on_rails checked into my plugins directory. But I should still be able to use it with the --drb option, correct?