similar to: Formatting runner output as HTML

Displaying 20 results from an estimated 10000 matches similar to: "Formatting runner output as HTML"

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
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
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
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 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 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 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 Oct 13
13
Story Runner: Readability of output with multiple params
Fistly, many, many thanks for RSpec and Story Runner. Minor request to improve readability of output Given a scenario item with multiple params.. Eg. And "the user belongs to", "Joe", "Acme" do |user_name, company_name| The readability of the following output is less than ideal.. "And the user belongs to company,Joe Public, No Videos" It would be
2006 Mar 01
3
Using aspects to apply authentication
Greeting. I was wondering if anyone is using AOP (Aspect Oriented Programming) to ensure login and authentication before allowing someone access to controllers and models. I found two versions of RCR 321 that discuss cut-based AOP, but as far as I can tell there isn''t an implementation of the RCR as an AOP framework. Additionally, I tried to dig up information on Aspect4r and
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
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/.
2002 Sep 20
3
Problem Seeing Linux Machine From Windows Machine
I am very new to Samba, so please excuse this naive question. Samba seems to be working properly from my Red Hat 7.2 system. I am using a GUI called xSMBrowser, and am able to transfer files back and forth to the Windows machines on my network. I now want to access my Linux system from a Windows 98 machine. I can see it ('Mail') in 'My Network Places' within the workgroup
2006 Mar 10
9
Observers?
Hello all! I''m having an issue with Observers, and I''m hoping someone knows the answer. Here is the definition: app/models/vehicle_observer.rb > class VehicleObserver < ActiveRecord::Observer > def after_save(vehicle) > breakpoint > if vehicle.has_new_mil_indication? > UserMailer.deliver_mil_notice(vehicle) > end > end > end
2007 Oct 02
4
align the runner
I saw from the thread "color output" that there is a plan to "align the runner". Is there a place to see what that means? I am just curious. Thanks Shane
2007 Sep 03
6
blog post on story runner
Here''s an excellent blog post on Story Runner, which will be part of the next release and is undergoing active development in trunk: http://evang.eli.st/blog/2007/9/1/user-stories-with-rspec-s-story-runner
2007 Oct 15
2
Story Runner: Two ''then'' steps output as ''then..and'' :)
Maybe I''m slow, but I just noticed that the following code.. When ''I login'' When ''I do something else'' ...will output as... When ''I login'' And ''I do something else'' The same is true for two ''Then'' steps That is really cool! Reusable steps and coherent English output. - Andy -- View this
2006 Mar 14
4
Rails Developer Positions in San Diego
We are looking for fulltime Rails Developers to join a tremendous rails only development team in San Diego. Please send resume and examples of work to info@mingle.com. Pay is based upon experience and there is an opportunity for options. Cheers, Mike Mike C. O''Brien CEO Mingle, LLC 701 B Street, Suite 1150 San Diego, CA 92101 mcob@mingle.com 619-922-6970 Cell 619-822-2471 Office
2007 Nov 12
2
Using the mock framework in story runner
Hey all, What is the easiest way to include rpec''s mocking framework into a story so I can use it? I want to use it to stub out a Net::HTTP method so I''m not making API calls every time I run my story. :) Thanks, Ben
2010 Sep 23
2
rspec runner setting $KCODE considered harmful?
I ran across a problem today in which some code ran fine in regular operation but failed in a test case. I scratched my head and thought "why would running from within the test harness change the behavior of my code?" Clearly it was the Heisenberg uncertainty principle in action! :) I discovered the root cause was that the rspec runner is setting the magical ruby global, $KCODE, to
2008 Jan 21
5
attachment_fu and story runner, any updates
I''m trying to write a story for a Rails app which involves using the attachment_fu plugin to upload images. After blunting my pick on this for a while, google found me this: http://www.ruby-forum.com/topic/134743#600831 So it seems that there''s a hole in Rails integration testing and multipart form posting. David offered to incorporate a patch to story runner at the end of the