Displaying 20 results from an estimated 300 matches similar to: "Some Rails and ZenTest questions... [long]"
2006 Oct 28
2
where is the "record" method??? i.e. which is used in generators (e.g. scaffold_generator.rb)
Hi,
Anyone know where the "record" method is defined. Its used in generators
like in the scaffold generator. An extract from it is below (taken from
scaffold_generator.rb):
def manifest
record do |m|
# Check for class naming collisions.
m.class_collisions controller_class_path,
"#{controller_class_name}Controller",
2010 Oct 14
0
no such file to load -- ZenTest but I have already installed ZenTest
$ rake spec cucumber --trace
(in /home/soroush/projects/mediapilot)
** Invoke spec (first_time)
** Invoke db:test:prepare (first_time)
** Invoke db:abort_if_pending_migrations (first_time)
** Invoke environment (first_time)
** Execute environment
** Execute db:abort_if_pending_migrations
** Execute db:test:prepare
** Invoke db:test:load (first_time)
** Invoke db:test:purge (first_time)
** Invoke
2006 Jun 14
3
zentest q''s
As today seems to be "test day" on the list, I''d like to hear how people are
using ZenText. I''m using autotest -rails and it''s made an incredible
difference in my productivity.
There is mention of using zentest to autogenerate missing test cases. I
can''t seem to get this working. Any hints?
Thanks,
Steve
--
View this message in context:
2006 Apr 16
1
How to use ZenTest?
OK, supposedly it has Rdoc documentation but I couldn''t find it (not helped
by the fact that I''ve never used offline rdocs so I don''t really know where
to look).
So, does anybody know how to use ZenTest effectively with Rails? I read all
I could find on the web but nothing really illuminated for me. I''m trying to
get into Test Driven Development (I have already
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)
2006 Sep 16
1
Selenium Vs Zentest
I would like to know which one is better. Zentest seems to lack good documentation whereas
Selenium seems to be having good documentation. TIA
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to
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
2006 Sep 17
0
Zentest Tutorial
Can someone knowledgeable on Zentest write a tutorial please? I would be willing to pay for the
pdf. TIA
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group,
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)
---
2008 Feb 06
1
RSpec 1.1.3 + ZenTest 3.9.1 + Rails 1.2.6 do NOT ignore folders ^vendor/*
Hi,
I just updated to the latest RSpec 1.1.3 + ZenTest 3.9.1.
I also have rspec 1.1.3 installed as a gem
When starting autotest with -v option, there is a lot of noise because
autotest does not ignore the vendor folder, the migrations, etc ...:
Dunno! vendor/plugins/acts_as_solr/solr/lib/jetty-util-6.1.3.jar
Dunno!
2011 Dec 03
2
script/server error (undefined method `name' for "ZenTest")
Hi All,
I have an rails 2.3.11 app which I''m trying to run locally. When runnign
script/server i get this error which i googled but couldn''t find the
answer anywhere:
Gem::SourceIndex#initialize called from
/opt/local/lib/ruby/gems/1.8/gems/rails-2.3.11/lib/rails/vendor_gem_source_index.rb:100.
Invalid gemspec in
2008 Jan 31
11
ZenTest-3.9.0 incompatible with RSpec-1.1.2
Hey all,
Just a heads up that the ZenTest-3.9.0 release is not compatible with
RSpec-1.1.2. I thought I had a release ready to go, but differences
between a preview release of ZenTest that I received and the actual
release seem to have broken compatibility.
We''ll get this resolved soon, but in the mean time please hold off on
upgrading to ZenTest-3.9.0 if you''re using RSpec.
2007 Sep 19
5
Zentest and rspec
Hi guys
I''m new to rspec and was wondering if there is a quick setup to get it to
work with autotest, sans rails.
Thanks
--
Jim Freeze
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/rspec-users/attachments/20070919/f7eecd9e/attachment.html
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
2007 Apr 13
21
ZenTest autotest now handles RSpec, yay!
Josh Knowles http://joshknowles.com/ just let me know that ZenTest Autotest
3.50 now handles your RSpec specs.
http://blog.zenspider.com/archives/2007/04/zentest_version_350_has_been_released.html
That''s a great news.
Josh also shared with me a quick hack to make autotest work with only the
RSpec plugin installed.
Add the following into your ~/.autotest file
2006 Jan 04
0
Simple print statement (was: recongizing the current controller in views)
All (and kevin),
After flying high for a while on Rails things, I''m down to the nitty gritty of
Ruby stuff. Messing with vars and printing them out on a web page.
I found the controller_path in the API docs;
However when putting this in a controller:
@test1 = controller_class_name
@test2 = controller_name
@test3 = controller_path
And this in a partial:
Test1 <%= @test1
2006 Apr 23
13
post() to other controller in functional test?
In a functional test, I want to call an action in another controller
(a login) before testing things in the current controller. As far as I
can tell from the extremely sparse documentation and the AWDR book,
this seems to be impossible. The post() functions takes an action
argument only, and that''s that. Surely I must be misunderstanding
things?
--
Calle Dybedahl
2007 May 23
8
Rails Rendering diagnostics.rhtml in Controller Spec
Forgive me if this isn''t the proper list. It''s specific to the rSpec
Rails plugin.
The problem is, some controller actions are rendering the
"diagnostics.rhtml" template when I''m expecting it to render something
else in a controller spec. I''m assuming this is the template that
displays the error message and a stack trace when an error is raised
in the
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
2007 May 01
6
rspec and autotest
If you want to use rspec-0.9.2 with autotest (ZenTest-3.5.2), you''ll
want to read this blog:
http://blog.davidchelimsky.net/articles/2007/05/01/rspec-0-9-1-and-autotest-zentest-3-5-2
Enjoy!
David