Displaying 20 results from an estimated 2000 matches similar to: "Web/HTTP Testing"
2006 Mar 05
2
Is Rails getting testing semantics wrong and making things confusing?
Yes, I believe it is and I think it is dangerous, and confusing to people
new to the concepts of testing.
I''ve mentioned a point similar to this on here before, but with the
announcement of Rails "integration" test, I''m worried that somebody
somewhere is getting their types of tests worryingly mixed up.
Lets start with what we had in the beginning...unit tests (for
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
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
2006 Apr 22
5
selenium plugin not working with rails 1.1
Hi,
I really like selenium, and I just tried the plugin created Jonas
Bengtsson. However I cannot get it to run on rails 1.1 and coundn''t find
anyone complaining about it?
Did anyone get it to run on rails 1.1.2?
Greets,
Abdur-Rahman
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
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
2006 Jun 29
2
Random routing errors in 1.1.3 with Mongrel
Since upgrading to 1.1.3 on our dev box, we''ve started to see random
routing errors with our apps running under Mongrel in production
mode. The errors seem to go away after a while but come back
everytime we restart the server. This may be a mongrel problem, it
may be a rails problem (I''ve posted a bug on the trac) and I was
wondering if anybody else had had similar
2006 Apr 16
1
plugins problems with RoR 1.1 in production
Hi,
I''m looking to upgrade an application based on rails 1.0, and I have a
problem with plugins working fine in development, but not in
production or test. Actually, it happens in all environments with
their dependency mechanism set to :load.
For example for the selenium on rails plugin, it needs the class
SeleniumOnRailsConfig, which triggers the dependency on
2006 Feb 23
5
Q: Where to put a periodic updater?
Hello,
I need to put a script in place for updating a local database with a
remote resource periodically. It should be started alongside the
server (or inside it, whatever) and be run as long as the server
running my rails app is up an running.
Any thoughts on how to accomplish this?
I have thought of editing the environment.rb file and placing the call
to the script trigger there, but I wonder
2006 Mar 23
7
Fixtures just Do Not Work for Me
Hello,
I have been struggling to get fixtures to work here with no success.
They just Do Not Work For Me (tm).
I have created a model named Headline with the `generate'' script and
modified the test/fixtumes/headlines.yml as follows
----------
gita:
id: 1
author: raulseixas
title: gita
happened_at: 2005-01-01 00:00:00
description: gita
This is the CD reissue of
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 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 Jun 05
1
Unobtrusive javascript...what if?
What if...you could produce accessible, unobtrusive javascript, using
Rails built-in javascript/prototype helpers, with just one extra line
of code in your layout, a plugin, and one small enhancement to the
helpers. Something like this:
[php]
<% form_remote_tag :controller => ''foo'', :action => ''bar'',
:unobtrusive => true %>
# which produces
2006 Mar 14
6
Framework
hello all,
I need any framework that generate models using the database
structure....
Anyone knows if have this framework????
Thank''s
--
Posted via http://www.ruby-forum.com/.
2006 Jun 07
9
Unobtrusive Javascript for Rails
I made a brief post on here the other day about this and now I can
proudly present the initial release of our unobtrusive_javascript
plugin for Rails. We''ll be working with Dan Webb of Vivabit to roll in
much of the functionality in his own as-yet unreleased
unobtrusive_javascript plugin into a single plugin.
This is essentially a preview release and probably not suitable for
use on a
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
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 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/.
2006 Mar 03
3
embedding a forum inside a rails app
what is the best way to embed a forum (phpbb is currently installed under
/public/forums/) inside my layout ? I dont want the foum to be its own page
i would like it to appear inside the main part of the page with navigation
and border in tact. is this possible with the current way it is installed ?
thanks
adam
-------------- next part --------------
An HTML attachment was scrubbed...
URL: