> By the way, I still hold the admin rights to the corresponding RubyForge
> project. if you use Test::Unit::Reporter nowadays and want it to suck
> less, feel free to create yourself a RubyForge account and write me for
> the commit rights.
Apologies, but is there anything besides Reporter that w
Bret Pettichord wrote:
> Anyone complaining about wierdness with 'test/unit' and require needs
> to read this!
In fact, at least when I wrote Test::Unit::Reporter, there was no
straightforward way to inject a listener to "discovery of a test case"
event. I don't know if it has changed since.
B
Validating HTML and checking for HTTP errors are vastly different things.
Validating HTML is something that you can do by any number of means. Some
Web development tools come with syntax validators and link checkers; there
is a checker at validator.w3c.org that will ensure that your HTML is
syntac
That's my guess too, but I'd like to hear from Meghanath.
---Michael B.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Zeljko Filipin
Sent: January 30, 2006 4:08 AM
To: wtr-general@rubyforge.org
Subject: Re: [Wtr-general] Tab Click
I guess nothing happ
> Your immediate problem is that Test::Unit::Reporter wants a bunch of test
> cases and instead you are giving it a bunch of files. Test cases are objects
> (that are created in these files).
>
> Here is some additional doc from Test::Unit that explains what is going on.
>
> http://www.ruby-doc.org
Although i can guess what your syntax means, i'm not quite sure where you got it. Did this come from a tool?Take a look at dialog_test.rb for current progress on supporting this.Bret
On 1/26/06, Paatsch, Bernd <[EMAIL PROTECTED]> wrote:
Hello,
I am struggeling with IE windows popups. Is
On 1/30/06, Bret Pettichord <[EMAIL PROTECTED]> wrote:
> This runs each test in a separate ruby process. You'll never get this to
> work right with Test::Unit::Reporter.
Yeah, I know. But backticks capture the output I'm looking for. If I
get could get Reporter to do anything useful at all, I wa
By default, test/unit will look for all the testcases you've defined (subclasses of Test::Unit::TestCase), put them in a suite and then execute them.This is convenient when getting started, but causes bafflement when people want to do anything complex.
This is all done by Test::Unit::AutoRunner. In
This runs each test in a separate ruby process. You'll never get this to work right with Test::Unit::Reporter.On 1/30/06, Chris McMahon <
[EMAIL PROTECTED]> wrote:Interestingly, had a quick conversation with Jonathan Kohl who had run
into weirdness with test/unit and with require. Here's what I ha
I'm not sure it will solve your problems, but I played around with
Test::Unit::Reporter a while back and had to add "require 'stringio'"
in reporter.rb to get it to work.
To give appropriate credit, it was actually pointed out by another
member of this list:
http://www.mail-archive.com/wtr-genera
Hi again...
I'm trying to integrate Test::Unit::Reporter with my little harness
script below, and struggling.
Ideally, I would pass each "test_cases" array to Reporter and it would
Do The Right Thing, but that's not happening.
##
#ORIGINAL WORKING SCRIPT
TOPDIR = Fil
Interestingly, had a quick conversation with Jonathan Kohl who had run
into weirdness with test/unit and with require. Here's what I have
now, with require replace by backticks. It seems to be working well
so far:
TOPDIR = File.join(File.dirname(__FILE__), '..')
$LOAD_PATH.unshift TOPDIR
require
One problem with this is that if you have suite_foo/test_a.rb and suite_bar/test_a.rb, the second test won't be run. A quick fix would be to use "load" instead of "require".But better would be to use more of the pathname with require. Here's how i'd do it:
TOPDIR = File.join(File.dirname(__FILE__
I was looking through the old Watir mailing lists for some information on how I might be able to bypass the Apache user authentication on our staging machine without using AutoIt. I didn't come up with much aside from use - AutoIt. One of our developers recommended I should try the following URL:
h
Hi,
I'd like to validate the HTML (ie. check for HTTP errors) and the
Javascript on a set of pages. My script currently visits the pages
via ie.goto(site). I noticed a couple of different methods -- which
do I want to call?
add_checker()
check_for_http_error()
How do I catch any errors if
Hi...
I have some tests in directories that share common code like
suite_foo/
test_1.rb
test_2.rb
suite_bar/
test_3.rb
test_4.rb
common/
my_library.rb
My test runner script dips into each directory and then back out:
##
TOPDIR
I guess nothing happens.
Zeljko
2006/1/30, [EMAIL PROTECTED] <[EMAIL PROTECTED]>:
> When I look at this HTML...
>
>
>
> border='0'/>
> align='center' valign='bottom' onClick='doCarrierTab();'
> style='cursor:hand'>Detail height='3' border='0'/>
> align='center' valign='bottom'>Contents heigh
Simple way:
put your scripts in the same folder (example: script1.rb, script2.rb...)
make script that calls other scripts:
require "script1"
require "script2"
Zeljko
2006/1/27, Rexhina Alickolli <[EMAIL PROTECTED]>:
>
>
>
> Hello guys:
>
> I have just started to work with ruby and I am wonderi
The
first f is underlined: “Öffnen”
I
now tried “Ö&ffnen” and it worked, thanks!
Carsten Neumann
-Ursprüngliche Nachricht-
Von:
[EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von Michael Bolton
Gesendet: Freitag, 27. Januar 2006
22:50
An: wtr-general@rubyforge.org
19 matches
Mail list logo