Displaying 20 results from an estimated 500000 matches similar to: "test"
2007 Aug 17
4
RSpec --format --html:/path/to/file.html
Greetings everyone. I''m learning RSpec and am pretty fresh to Ruby/Rails,
but am so excited I can''t help jumping in. I''m running before I can walk
here. :-)
Yesterday I tried outputting test results to HTML instead of colorized
plain text. It looked like there were some entries in the change log for
the 1.0.5 release allowing RSpec to do what I wanted.
I tried
2008 Jan 15
5
broken URL on rspec.info
Hey folks. I was looking for the mailing list archive up on rspec.info.
I clicked on the "community" link and received the URL
"http://ey01-s00414/community/". This isn''t correct, obviously. The hint
shows it as, "http://rspec.info/community".
Where is the mailing list archive? How far back does it go? I''d really
like to read back through it
2007 Oct 05
20
RSpec Book(s) on the radar
I just found this one: http://tinyurl.com/3c3mfa
David, are there any other RSpec books in the works?
With Regards,
Cody Skidmore
2007 Oct 05
9
I can''t make RSpec 1.0.8 run in Rails 1.2.3
I followed the directions on the site:
ruby script/plugin install svn://rubyforge.org/var/svn/rspec/tags/CURRENT/rspec
ruby script/plugin install svn://rubyforge.org/var/svn/rspec/tags/REL_1_0_8/rspec_on_rails
ruby script/generate rspec
And apparently everything was ok. But when I do a "rake spec" on the app folder none of the Rails models are visible. Here is the error:
(in
2007 Sep 20
2
FW: FW: Specifying spec and output format inline?
One more try?
I just want the script to save the rspec output to an html file when the
script is run. In this case, the script will be run from SciTE using
F5, rather than by command line.
Is there a way to specify this within the ruby script?
________________________________
From: rspec-users-bounces at rubyforge.org
[mailto:rspec-users-bounces at rubyforge.org] On Behalf Of Adam Reed
2007 Aug 18
1
Formatting runner output as HTML
I found documentation on Runner & calling Spec on the command line. I''m
able to run it on multiple models or a single one and format the output as
HTML now. Previously I used the Rake task expecting it to behave the same
way passing --format html:path/to/file.html or setting it somehow in
spec.opts. But I''m not quite there yet. Should the Rake task work the same
way or is
2007 Aug 13
3
Rspec compatibility issue
I''m trying to get Rspec working. Using the installing 1.0.7 & the Rails
plugin, I tried one of the examples on Rspec''s website and produced the
following error:
############################################################################
Your RSpec on Rails plugin is incompatible with your installed RSpec.
RSpec : 1.0.7 (r2332)
RSpec on Rails : r2331
Make sure
2007 Sep 05
5
RSpec for dummies screencast?
Does anyone know of any RSpec screencasts for dummies, like me :)
I have a Java background, but I have never written a java test in my
life. I''ve never learned about TDD or BDD so I''m totally blank on
everything that has anything to do with testing and stuff.
Where should I start?!? ;)
Christian...
--~--~---------~--~----~------------~-------~--~----~
You received this
2007 Jun 05
0
Fwd: testing - test/spec and rspec
are you guys aware of this??
:)
Begin forwarded message:
> From: topfunky <topfunkycorporation at gmail.com>
> Date: June 4, 2007 8:35:24 PM EDT
> To: PeepCode <peepcode at googlegroups.com>
> Subject: Re: testing - test/spec and rspec
> Reply-To: peepcode at googlegroups.com
>
>
> On 5/28/07, Neil <neilrahilly at gmail.com> wrote:
>> Just
2010 Nov 10
0
no output from rspec -- fixed
Resend from 10/29/2010 due to bounce back. This is in reference to an email
sent to the group on On Oct 18, 2010, at 1:24 AM.
Short version: The solution was indeed to downgrade to test-unit 1.2.3
gem ''test-unit'', ''1.2.3''
Longer version: I went through my github repository and found a version
of my gemfile that worked with rspec. I then carefully compared
2007 Dec 14
9
new home for the rspec website
Hi all,
We''ve moved the rspec website to http://rspec.info. We want
http://rspec.org, of course, but someone is squatting on and has yet
to respond to my email :(
The 1.1.0 docs are there. The 1.0.8 docs are still at
http://rspec.rubyforge.org for the time being. We''ll be archiving them
at the new site soon.
This new site is hosted on our shiny new sponsored slice at Engine
2007 Nov 21
2
When you sometimes wonder how to test this??
Hi
Just something that I have been finding very helpful sometimes when I
am stuck with "how could I test this?" moments is looking at the
Rails test suite.
At the moment I am working on testing our custom error_messages_for
methods and I have found looking at how the Rails tests in
active_record_helper work helpful :-)
So just thought I''d share that. Have
2008 Jan 17
6
Webistrano on Windows
Greetings. I just read a note on Webistrano''s website about Webistrano
not running on Windows.
Does anyone know if there''s a patch to get it running? I''d like to use
this tool, but I''m using Windows XP for the time being and need to
deploy from there.
When I tried running Webistrano for the first time last night it threw
an exception when trying to start the
2008 Mar 12
2
Whence "post" in a description?
I''m having the exact problem described in this earlier post:
http://www.nabble.com/Odd-response.body-behavior-to12837556.html#a12837556
That is, after a post, response.body is just the controller/view string
("user/login" in my case).
Failing to find any answer on the web, I''m trying to trace execution, but
hitting a bit of a snag. I''m tracing the ancestry
2006 Mar 13
32
DRY principle form validations
We are wondering how you''d validate a credit card number or a SSN
without writing Javascript and Ruby code.
Would it be through Rails'' AJAX support?
--
Posted via http://www.ruby-forum.com/.
2011 Sep 02
1
Rails 3.1.0 File Upload Rspec Test
I''m having this odd problem that I encountered, today. I want to check
that when I upload a CSV file that it does import some records into a
DB. Problem is that sometimes when I run RSpec it seems that it wants
to read the uploaded file as a string, rather than an object that I am
sending with a post request. Here''s a gist of my code:
https://gist.github.com/1187861
With Rails
2007 Aug 07
1
Rspec controller test
Great Hi to everybody!
I am currently working on a project which tests the controllers using rspec.
I came across some methods in the controller which do not generate any
actions at all. However, they still need testing! Some of these methods do
require parameters. I am wondering how I can pass the test cases as the
parameters to these targeted methods in the controller spec?? Below is a
simple
2008 Mar 13
3
Stories (well, integration tests) which aren''t plain text
Hi,
Having just played with getting my first plain text story working, I
like how it all fits together. It worked out nicely.
However, I don''t feel our project needs to have stories as plain text,
in fact it''s a slight hindrance for us. Is there any sensible
mechanism for doing integration testing using rspec without plain text
stories?
Thanks,
Rob
2012 Feb 05
4
testing framework for test automation
Hello,
Anyone working in QA Test Automation with RSpec wouldn?t mind posting
their testing framework or know where I can go to get more info on
testing frameworks either with RSpec or Cucumber? I greatly
appreciate. Thank you.
2011 Jul 14
1
RoutingError with RSpec Controller test on Scoped Route
So I have a route that looks like this:
scope "4" do
scope "public" do
scope ":apikey" do
resources :shops
end
end
end
And a bunch of controller specs, an example of which looks like this:
describe ShopsController do
describe "when responding to a GET" do
context "#new" do
it "should create a new instance