similar to: Is Rails getting testing semantics wrong and making things confusing?

Displaying 20 results from an estimated 30000 matches similar to: "Is Rails getting testing semantics wrong and making things confusing?"

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
2005 Nov 16
19
Concerns over Rails' handling of tests
Sorry if this comes across as a bunch of disjointed thoughts...I''m just trying to put my thoughts down and I''d like to know what other people''s opinions on the subject are. I''ve been working with Rails for 3 or 4 months now and I''m constantly trying to look at ways of improving my testing techniques, especially when it comes to TDD. I have a few
2007 May 09
4
UI testing framework? (w/o selenium)
Hey all, I am currently working on coming up w/ an easy to use, developer-centric web testing framework to test a J2EE app with. (I have 3 rails apps in production, love rspec, and am currently at a java shop). I''ve looked at selenium, and it just doesn''t seem like it is ready for prime time, and the target audience is developers. So, having said that, does the rspec
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
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 Jan 12
2
spec_ui problems
While looking into spec_ui, I decided to run the examples. The watir example works a little, but always chokes on the ''better than fudge'' spec (failure output below). Also, is there any command to pause the "browser"? If my connection slows, the test gets out of whack. The selenium example fails right away (output below). I do have the 0.9.0 selenium-rc
2006 Oct 30
1
domain language?
RSpeckers: I went with RSpec instead of Systir because I downloaded and installed the former first. (I know that''s not exactly a ringing endorsement! ;-) I want to compete with FIT and Fitnesse, like this: http://www.zeroplayer.com/cgi-bin/wiki?TestFlea#tropism (Click on a Green Bar to distend one test case.) I want a domain-specific language in the parchment-colored area on the
2008 May 08
7
Rspec Stories / Selenium Nightmare
I have been using Rspec stories with Webrat feeling very productive and happy. Then I needed to do something with Selenium (Webrat could have done what I needed but it does not yet have the functionality). Selenium-core as part of a rails plugin looked nice but did not seem to fit with rspec stories. So I went the Selenium-rc route. Since Selenium uses a separate instance of rails
2006 Feb 06
2
Selenium on Rails plugin
One of the things I like about Rails is the built-in support for testing ? it?s almost hard not to write tests. But even if I write extensive tests (currently ?Code to Test Ratio: 1:3.4? according to rake stats in a small toy project) I still feel that it?s not enough. I occasionally get the urge to fire up the browser and click around to test that everything works. You shouldn?t have to
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
2007 Nov 29
5
Webrat 0.1.0 released - Ruby Acceptance Testing for Web applications
Hey guys, We developed this plugin while writing my first real set of RSpec stories. It''s still missing a lot of functionality, but it''s useful to us as is, so I''m shipping 0.1.0. (Patches welcome. :) ) Code is available at: http://svn.eastmedia.net/public/plugins/webrat/ What do you think? -Bryan Here''s the README:
2008 Sep 29
3
rspec-ui overlap with cucumber?
Hi! I''m using cucumber + selenium and I love it. However I''m looking to add some methods (example: click_and_wait etc) to the lib. Therefore looked around a bit and I got two questions: Firstly about rspec-ui, I''m a little confused, does rspec-ui overlap with its propose with webrat with cucumber or I''m missing a point? Secondly, are there any plans to
2007 Jan 12
5
Integration Testing - Wait, Watir, or Selenium
I''m evaluating what to use for integration testing: SafariWatir - integrates nicely with RSpec - doesn''t work with Ajax because of Safari event firing issues Selenium - Works with Ajax - doesn''t integrate with RSpec What is the best guess timeframe for RSpec integration testing? Will it be able to test Ajax application in the early iterations? Thanks, Brian Yamabe
2007 Jun 18
7
Testing for cross site scripting, etc.
Being new to testing and ruby, are there "standard" tests that can be done that test for things like cross site scripting and friends? If not, anyone have ideas on what I might do about testing those sorts of things? I''ll be using rails, also. Mike B. ---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging
2009 Jan 05
7
[Cucumber] after feature hook?
Hi, Is there a hook or a method to execute some code after a whole feature has run or will I need to embed that in a ''Then''? Regards Aidy
2006 Jul 07
2
Testing views with Hpricot
assert_tag smells bad. Hpricot smells nice (apricotty!). Testing your views with Hpricot: http://www.lukeredpath.co.uk/index.php/2006/07/07/testing-your-rails- views-with-hpricot/ Big thanks to _why for a great little library! Feedback is appreciated. rSpec integration coming soon (hopefully!). Cheers, Luke Redpath contact@lukeredpath.co.uk -------------- next part -------------- An HTML
2008 Mar 20
1
stories with selenium and the db
Hi all Tonight I wanted to test out selenium in a story to test some ajax stuff on a page. After struggling for an hour or two with disappearing database objects I found the solution in a blog post by Kerry Buckley. with the comment included it reads: # Don''t add an ActiveRecordSafetyListener, or it''ll roll stuff back class Spec::Story::Runner::ScenarioRunner def
2006 Feb 21
26
Net::SMS::BulkSMS 0.1
This is the first release of a new Ruby library for the www.bulksms.co.ukAPI which should allow simple integration of SMS functionality into your Ruby or Rails apps. Sending a message is as simple as: @service = Service.new(''username'', ''password'') @service.send_message(''This is my message!'', ''4479123456789'') # whats my
2008 Aug 20
9
I want RSpec for CSS layout.
I don''t even know how it''d be possible (through Selenium?), but I want it. I want to see if my stupid CSS hacks break. I want to say: describe "#nav-column" do body = something("#body-column") it "should line up at the top" do dom[:top].should_be == body.dom[:top] end it "should always be to the right" do
2006 May 17
1
Functionnal testing : Watir vs Selenium
Hello, I wonder if some of you have evaluated these two solutions and how they compares each other. What did you liked or disliked ? And may be are you aware of others functionnal testing tools usable with and integrated with Ruby ? Thanks -- Posted via http://www.ruby-forum.com/.