similar to: FW: Specifying spec and output format inline?

Displaying 20 results from an estimated 1000 matches similar to: "FW: Specifying spec and output format inline?"

2007 Sep 17
0
Specifying spec and output format inline?
Howdy from Austin, TX. I''m new to rspec, and am currently using it with the Watir testing library for web testing. I''m moving along at an ok pace so far, but I had a question. I just realized I could require ''spec'' and forego running scripts from the command line. However, this limits me in my output formats. Is there a way that I can specify which format
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
2008 Jun 03
1
Clicking on links within facebook iframes (facebook apps)
Hello, I have a problem with clicking on the links in facebook apps due to iframes. I am trying to write a little script to run through the funwall app. I used IE Dev toolbar to get the name of the id of the iframe (those iframes how no name attribute). So I run this command: $ie.frame(:id, "app2378983609_fb_frame").link(:text, ''View this post'').click And I get
2007 Dec 30
6
Restful-Authentication Rspec Failure Rails 2.0.2
I am trying the Restful-Authentication (latest version, downloaded today) and upon running the generator, doing the migration, prepping the test system and putting the resources in routes.rb I get a Rspec test failure: ''SessionsController logins and redirects'' FAILED expected not nil, got nil routes.rb has: map.resources :users map.resources :sessions nothing else was
2011 Apr 16
11
added new cool matcher into my framework WatirSplash - #in
Hello! I''ve just added a new cool matcher #in into my framework WatirSplash and thought that this could be integrated into RSpec directly actually if there''s any interest. WatirSplash uses Watir (or Watir-like) frameworks for testing web pages via browser. If you''re not familiar with it then here is a short example how you had to test ajax-heavy application before:
2005 Mar 12
1
FW: Watir needs a Win32GUI library
Anyone need something to do? :) Dan -----Original Message----- From: Bret Pettichord [mailto:bret@pettichord.com] Sent: Saturday, March 12, 2005 8:25 AM To: ruby-talk ML Cc: wtr-general@rubyforge.org Subject: Watir needs a Win32GUI library We''ve seen growing enthusiasm for Watir, a web-testing library that is good enough that it is convincing people to learn Ruby just so that they
2007 May 10
1
RSpec 0.9.4
RSpec 0.9.4 has just been released. Gems haven''t rsync''ed around the globe yet, so you might have to wait a few hours to install it. The big news this time is Spec::Ui 0.2.0, which has been released along with RSpec core. This RSpec extension gives you custom Watir matchers (custom Selenium-RC matchers are not implemented yet). Moreover, it comes with a custom KICK ASS formatter
2007 Apr 11
5
Default exclude pattern in 0.9.0
The "rspec" rake task collects all _spec files in the spec directory, and excludes the "watir" directory. Is this indicating a preference for using Watir over Selenium? I would like it better to standardize on something more neutral, ''ui'' perhaps? /Marcus -- Marcus Ahnve http://marcus.ahnve.net
2008 Jan 15
1
Converting Watir script to Mechanize
I have a Watir script that I would like to convert to a Mechanize script. The watir code looks like this require ''watir'' include Watir def test ie = IE.new ie.goto(''http://cpref.gsm.com/inter.asp?r=8084'') ie.text_field(:name, ''inter_string'').set(''Potassium'') ie.button(:id, ''image1'').click
2007 Jul 26
6
response.should_not redirect_to
Hey, May be it is just too deep night over here and I''m missing something though I got this failure on {{{response.should_not redirect_to}}}: ''QueuesController should allow authenticated user to access ''show'''' FAILED Matcher does not support should_not. See Spec::Matchers for more information about matchers. Also I''ve found this in
2007 Mar 15
1
Getting the stack trace
Hi all, I am using the following code to print the exception, but is there a way to get the stack trace of the complete error like Exception: No option with text of Contract form in this select element C:/InstantRails/ruby/lib/ruby/gems/1.8/gems/watir-1.5.1.1145/./watir.rb:3656:in `select_item_in_select_list''
2007 Aug 10
1
How to spec a model method
Still new to Specs... How do I create a spec to test a model method? Specifically, here is my spec: #testing model describe User do it "should have many user roles" do User.reflect_on_association(:user_roles).should_not be_nil end it "should have many roles though user roles" do User.reflect_on_association(:roles).should_not be_nil end it "should know
2007 May 27
12
Checking for Range
how would you check for a range using rspec? person.password.range.should == Range.new(5..40) <- this doesn''t work -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/rspec-users/attachments/20070527/4d8cb007/attachment-0001.html
2006 Feb 23
2
Calgary Ruby Users Society (CRUSERS)
Calgary Ruby Users Society (otherwise known as Association of Anonymous Java Programmers, Calgary branch) had it''s first meeting today. After a round of introductions, we discussed our interests and brainstormed possible activities for the group. Paul Rogers did a presentation on Watir [http://wtr.rubyforge.org/]. Watir is not just a great tool, but also a way to sneak Ruby into your
2008 Oct 16
2
Any good conferences this year about ruby/rspec/watir?
Hello. Sorry for this little offtopic question, but I was wondering if anyone happens to know if there''s any good conferences coming up about rspec or ruby or watir in this year where I could attend to? Or any good website where such things are listed or something similar. All suggested conferences should not take place before one month from now (employer needs some time to get good
2007 Apr 12
2
Watir on firefox
Hello is there any way through which we can run watir on forfox if so please reply me with example Thanks -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ 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 Jul 24
6
Mocking Access Control
I''m trying to jump on the TDD/BDD bandwagon, but am having trouble understanding how i should mock my user. The user has a habtm relationship to a roles model (acl_system2 plugin), but I''m not sure how to tell rspec about a model. My code: describe UsersController do integrate_views before(:each) do @user = mock_model(User)
2008 Jun 09
6
Selenium/Watir usage along side Webrat in story testing
This is related to Selenium/Watir usage along side webrat in story testing. MHS_Testing and Rspec-ui provide some great help for testing through frameworks like Selenium/Watir. But there is something missing, Webrat has changed the landscape somewhat with Acceptance Tests/Story Driven development. Now I have a choice: 1. Tests and rails process run as one test process (Webrat) 2. Use
2006 Feb 23
5
Web/HTTP Testing
Hello, I am looking for a user test automation tool. When I say ''user'', I mean it should mimic the user interacting with the app. That ultimately boils down to a tool that drives a browser or is able to make http requests and allow us to deal easily with the responses. Our requirements are to be able to write the tests in Ruby (no need to switch to other language for test
2008 Nov 04
18
Can I do foo.should (be_nil || be_empty) in rspec
Is there any way to do foo.should (be_nil || be_empty) in rspec. Thanks in advance -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/rspec-users/attachments/20081104/ee43c9c9/attachment.html>