Re: [rspec-users] generate user-readable tests from Rspec tests?

2011-09-12 Thread Sidu Ponnappa
You can write your own Formatter[1] if the existing ones don't work for you. The default RSpec document format is already available[2] - just pass `--format doc` as a param when running the specs. Best, Sidu. http://c42.in http://blog.sidu.in [1] http://cheat.errtheblog.com/s/rspec/ [2] https://g

[rspec-users] Rspec error while running jruby -S rake spec

2011-09-12 Thread Chandu80
Hello All, I followed steps to install Rspec as in the link pasted below. http://www.pmamediagroup.com/2009/04/tutorial-install-rspec-rails-factory-girl/ I have jRuby on Rails installed on my machine.Hence all commands need to be run with jruby -S extension. However when I run the jruby -S rake

Re: [rspec-users] generate user-readable tests from Rspec tests?

2011-09-12 Thread wolf volpi
Sorry my question was not clear. Sidu Ponnappa wrote in post #1021398: > You can write your own Formatter[1] if the existing ones don't work for > you. > [1] http://cheat.errtheblog.com/s/rspec/ I am mostly testing Java web applications (I do not know Rails). Will Formatter[1] work without Rails

[rspec-users] how can I get rspec to generate files with rails g model ...?

2011-09-12 Thread Patrick J. Collins
I just added RSpec 2 to a project that has been using test::unit, and I was wondering how to get RSpec to automatically build test files for my models? when I do rails g rspec:model foo, I just get see CREATE spec/models/foo_spec.rb (no other files) if I do rails g model foo, I see "invoke test u

Re: [rspec-users] how can I get rspec to generate files with rails g model ...?

2011-09-12 Thread David Chelimsky
On Sep 13, 2011, at 3:34 AM, Patrick J. Collins wrote: > I just added RSpec 2 to a project that has been using test::unit, and I was > wondering how to get RSpec to automatically build test files for my models? > > when I do rails g rspec:model foo, I just get see CREATE > spec/models/foo_spec.rb

Re: [rspec-users] generate user-readable tests from Rspec tests?

2011-09-12 Thread David Chelimsky
On Sep 13, 2011, at 1:51 AM, wolf volpi wrote: > Sorry my question was not clear. > > Sidu Ponnappa wrote in post #1021398: >> You can write your own Formatter[1] if the existing ones don't work for >> you. >> [1] http://cheat.errtheblog.com/s/rspec/ > I am mostly testing Java web applications (I

Re: [rspec-users] Rspec error while running jruby -S rake spec

2011-09-12 Thread David Chelimsky
On Sep 12, 2011, at 2:44 PM, Chandu80 wrote: > Hello All, > > I followed steps to install Rspec as in the link pasted below. > > http://www.pmamediagroup.com/2009/04/tutorial-install-rspec-rails-factory-girl/ > > I have jRuby on Rails installed on my machine.Hence all commands need > to be run