Skip Menu |
 

This queue is for tickets about the Test-WWW-Selenium CPAN distribution.

Report information
The Basics
Id: 20043
Status: resolved
Priority: 0/
Queue: Test-WWW-Selenium

People
Owner: Nobody in particular
Requestors: srl [...] bestpractical.com
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: (no value)
Fixed in: (no value)



Subject: Naming tests doesn't work
Download (untitled) / with headers
text/plain 195b
You're using Test::More and Test::Builder to build tests, but the Selenium tests don't seem to work when I try to name them (using a third argument). This makes large test suites rather unwieldy.
Download (untitled) / with headers
text/plain 471b
On Thu Jun 22 12:05:21 2006, guest wrote: Show quoted text
> You're using Test::More and Test::Builder to build tests, but the > Selenium tests don't seem to work when I try to name them (using a third > argument). This makes large test suites rather unwieldy.
I'm aware of this behaviour. I don't seem to see it all the time - it seems only certain commands fail to display the test description. I'll look into this when I have some spare time... ... patches are welcome though... :)
Download (untitled) / with headers
text/plain 461b
I wrote a bunch more unit tests and fixed this problem. This should be out as T-W-S 1.02 1.02 - Sat Jun 24 17:25:35 PDT 2006 - Added unit tests for all auto-generated functions - fixed bugs where line numbers and file info wasn't reported - fixed bug where test description was lost - added get_location method to return relative location - removed references to contains and lacks functions - failed action_ok() doesn't die anymore, the test just fails
Subject: Re: [rt.cpan.org #20043] Naming tests doesn't work
Date: Mon, 26 Jun 2006 09:44:29 -0400
To: bug-Test-WWW-Selenium [...] rt.cpan.org
From: Shane Landrum <srl [...] bestpractical.com>
Download (untitled) / with headers
text/plain 4.5k
Luke Closs via RT wrote: Show quoted text
> <URL: http://rt.cpan.org/Ticket/Display.html?id=20043 > > > I wrote a bunch more unit tests and fixed this problem. This should be > out as T-W-S 1.02 > > 1.02 - Sat Jun 24 17:25:35 PDT 2006 > - Added unit tests for all auto-generated functions > - fixed bugs where line numbers and file info wasn't reported > - fixed bug where test description was lost > - added get_location method to return relative location > - removed references to contains and lacks functions > - failed action_ok() doesn't die anymore, the test just fails
Thanks. I'm still seeing failures on this version, though, under perl 5.8.8: lightning:~/.cpan/sources/authors/id/L/LU/LUKEC/Test-WWW-Selenium-1.02 srl$ make test # Failed test 'is fail' # in t/test-selenium.t at line 65. # STDERR is: # # Failed test 'bar' # # in t/test-selenium.t at line 64. # # got: 'baz' # # expected: 'foo' # # not: # (?-xism:#\s+Failed\ test.*?\n?.*?t\/test\-selenium\.t at line 64.*\n?) # as expected # Failed test 'isnt fail' # in t/test-selenium.t at line 78. # STDERR is: # # Failed test 'bar' # # in t/test-selenium.t at line 77. # # 'foo' # # ne # # 'foo' # # not: # (?-xism:#\s+Failed\ test.*?\n?.*?t\/test\-selenium\.t at line 77.*\n?) # as expected # Failed test 'like fail' # in t/test-selenium.t at line 91. # STDERR is: # # Failed test 'bar' # # in t/test-selenium.t at line 90. # # 'baz' # # doesn't match '(?-xism:foo)' # # not: # (?-xism:#\s+Failed\ test.*?\n?.*?t\/test\-selenium\.t at line 90.*\n?) # as expected # Failed test 'unlike fail' # in t/test-selenium.t at line 104. # STDERR is: # # Failed test 'bar' # # in t/test-selenium.t at line 103. # # 'foo' # # matches '(?-xism:foo)' # # not: # (?-xism:#\s+Failed\ test.*?\n?.*?t\/test\-selenium\.t at line 103.*\n?) # as expected # Failed test 'is fail' # in t/test-selenium.t at line 65. # STDERR is: # # Failed test 'bar' # # in t/test-selenium.t at line 64. # # got: 'baz' # # expected: 'foo' # # not: # (?-xism:#\s+Failed\ test.*?\n?.*?t\/test\-selenium\.t at line 64.*\n?) # as expected # Failed test 'isnt fail' # in t/test-selenium.t at line 78. # STDERR is: # # Failed test 'bar' # # in t/test-selenium.t at line 77. # # 'foo' # # ne # # 'foo' # # not: # (?-xism:#\s+Failed\ test.*?\n?.*?t\/test\-selenium\.t at line 77.*\n?) # as expected # Failed test 'like fail' # in t/test-selenium.t at line 91. # STDERR is: # # Failed test 'bar' # # in t/test-selenium.t at line 90. # # 'baz' # # doesn't match '(?-xism:foo)' # # not: # (?-xism:#\s+Failed\ test.*?\n?.*?t\/test\-selenium\.t at line 90.*\n?) # as expected # Failed test 'unlike fail' # in t/test-selenium.t at line 104. # STDERR is: # # Failed test 'bar' # # in t/test-selenium.t at line 103. # # 'foo' # # matches '(?-xism:foo)' # # not: # (?-xism:#\s+Failed\ test.*?\n?.*?t\/test\-selenium\.t at line 103.*\n?) # as expected # Failed test 'is fail' # in t/test-selenium.t at line 149. # STDERR is: # # Failed test 'bar' # # in t/test-selenium.t at line 148. # # got: 'baz' # # expected: 'foo' # # not: # (?-xism:#\s+Failed\ test.*?\n?.*?t\/test\-selenium\.t at line 148.*\n?) # as expected # Failed test 'is fail' # in t/test-selenium.t at line 149. # STDERR is: # # Failed test 'bar' # # in t/test-selenium.t at line 148. # # got: 'baz' # # expected: 'foo' # # not: # (?-xism:#\s+Failed\ test.*?\n?.*?t\/test\-selenium\.t at line 148.*\n?) # as expected # Failed test 'is fail' # in t/test-selenium.t at line 149. # STDERR is: # # Failed test 'bar' # # in t/test-selenium.t at line 148. # # got: 'baz' # # expected: 'foo' # # not: # (?-xism:#\s+Failed\ test.*?\n?.*?t\/test\-selenium\.t at line 148.*\n?) # as expected # Failed test 'is fail' # in t/test-selenium.t at line 149. # STDERR is: # # Failed test 'bar' # # in t/test-selenium.t at line 148. # # got: 'baz' # # expected: 'foo' # # not: # (?-xism:#\s+Failed\ test.*?\n?.*?t\/test\-selenium\.t at line 148.*\n?) # as expected # Failed test 'is fail' # in t/test-selenium.t at line 191. # STDERR is: # # Failed test 'bar' # # in t/test-selenium.t at line 190. # # got: '/monkey/man' # # expected: 'foo' # # not: # (?-xism:#\s+Failed\ test.*?\n?.*?t\/test\-selenium\.t at line 190.*\n?) # as expected Failed 1/4 test scripts, 75.00% okay. 13/77 subtests failed, 83.12% okay. make: *** [test_dynamic] Error 25 ------------------------ srl
Subject: Re: [rt.cpan.org #20043] Naming tests doesn't work
Date: Mon, 26 Jun 2006 06:51:39 -0700
To: bug-Test-WWW-Selenium [...] rt.cpan.org
From: "Luke Closs" <lukecloss [...] gmail.com>
Download (untitled) / with headers
text/plain 5.2k
Aha, Yeah, forgot about that. I hacked my local Test::Builder::Tester to make these tests pass, and then forgot about it. I'll try to talk to someone here at yapc about it. Thanks for the feedback... Cheers, Luke On 6/26/06, srl@bestpractical.com via RT <bug-Test-WWW-Selenium@rt.cpan.org> wrote: Show quoted text
> > > Queue: Test-WWW-Selenium > Ticket <URL: http://rt.cpan.org/Ticket/Display.html?id=20043 > > > Luke Closs via RT wrote:
> > <URL: http://rt.cpan.org/Ticket/Display.html?id=20043 > > > > > I wrote a bunch more unit tests and fixed this problem. This should be > > out as T-W-S 1.02 > > > > 1.02 - Sat Jun 24 17:25:35 PDT 2006 > > - Added unit tests for all auto-generated functions > > - fixed bugs where line numbers and file info wasn't reported > > - fixed bug where test description was lost > > - added get_location method to return relative location > > - removed references to contains and lacks functions > > - failed action_ok() doesn't die anymore, the test just fails
> > Thanks. I'm still seeing failures on this version, though, under perl > 5.8.8: > > lightning:~/.cpan/sources/authors/id/L/LU/LUKEC/Test-WWW-Selenium-1.02 > srl$ make test > > # Failed test 'is fail' > # in t/test-selenium.t at line 65. > # STDERR is: > # # Failed test 'bar' > # # in t/test-selenium.t at line 64. > # # got: 'baz' > # # expected: 'foo' > # > # not: > # (?-xism:#\s+Failed\ test.*?\n?.*?t\/test\-selenium\.t at line 64.*\n?) > # as expected > > # Failed test 'isnt fail' > # in t/test-selenium.t at line 78. > # STDERR is: > # # Failed test 'bar' > # # in t/test-selenium.t at line 77. > # # 'foo' > # # ne > # # 'foo' > # > # not: > # (?-xism:#\s+Failed\ test.*?\n?.*?t\/test\-selenium\.t at line 77.*\n?) > # as expected > > # Failed test 'like fail' > # in t/test-selenium.t at line 91. > # STDERR is: > # # Failed test 'bar' > # # in t/test-selenium.t at line 90. > # # 'baz' > # # doesn't match '(?-xism:foo)' > # > # not: > # (?-xism:#\s+Failed\ test.*?\n?.*?t\/test\-selenium\.t at line 90.*\n?) > # as expected > > # Failed test 'unlike fail' > # in t/test-selenium.t at line 104. > # STDERR is: > # # Failed test 'bar' > # # in t/test-selenium.t at line 103. > # # 'foo' > # # matches '(?-xism:foo)' > # > # not: > # (?-xism:#\s+Failed\ test.*?\n?.*?t\/test\-selenium\.t at line 103.*\n?) > # as expected > > # Failed test 'is fail' > # in t/test-selenium.t at line 65. > # STDERR is: > # # Failed test 'bar' > # # in t/test-selenium.t at line 64. > # # got: 'baz' > # # expected: 'foo' > # > # not: > # (?-xism:#\s+Failed\ test.*?\n?.*?t\/test\-selenium\.t at line 64.*\n?) > # as expected > > # Failed test 'isnt fail' > # in t/test-selenium.t at line 78. > # STDERR is: > # # Failed test 'bar' > # # in t/test-selenium.t at line 77. > # # 'foo' > # # ne > # # 'foo' > # > # not: > # (?-xism:#\s+Failed\ test.*?\n?.*?t\/test\-selenium\.t at line 77.*\n?) > # as expected > > # Failed test 'like fail' > # in t/test-selenium.t at line 91. > # STDERR is: > # # Failed test 'bar' > # # in t/test-selenium.t at line 90. > # # 'baz' > # # doesn't match '(?-xism:foo)' > # > # not: > # (?-xism:#\s+Failed\ test.*?\n?.*?t\/test\-selenium\.t at line 90.*\n?) > # as expected > > # Failed test 'unlike fail' > # in t/test-selenium.t at line 104. > # STDERR is: > # # Failed test 'bar' > # # in t/test-selenium.t at line 103. > # # 'foo' > # # matches '(?-xism:foo)' > # > # not: > # (?-xism:#\s+Failed\ test.*?\n?.*?t\/test\-selenium\.t at line 103.*\n?) > # as expected > > # Failed test 'is fail' > # in t/test-selenium.t at line 149. > # STDERR is: > # # Failed test 'bar' > # # in t/test-selenium.t at line 148. > # # got: 'baz' > # # expected: 'foo' > # > # not: > # (?-xism:#\s+Failed\ test.*?\n?.*?t\/test\-selenium\.t at line 148.*\n?) > # as expected > > # Failed test 'is fail' > # in t/test-selenium.t at line 149. > # STDERR is: > # # Failed test 'bar' > # # in t/test-selenium.t at line 148. > # # got: 'baz' > # # expected: 'foo' > # > # not: > # (?-xism:#\s+Failed\ test.*?\n?.*?t\/test\-selenium\.t at line 148.*\n?) > # as expected > > # Failed test 'is fail' > # in t/test-selenium.t at line 149. > # STDERR is: > # # Failed test 'bar' > # # in t/test-selenium.t at line 148. > # # got: 'baz' > # # expected: 'foo' > # > # not: > # (?-xism:#\s+Failed\ test.*?\n?.*?t\/test\-selenium\.t at line 148.*\n?) > # as expected > > # Failed test 'is fail' > # in t/test-selenium.t at line 149. > # STDERR is: > # # Failed test 'bar' > # # in t/test-selenium.t at line 148. > # # got: 'baz' > # # expected: 'foo' > # > # not: > # (?-xism:#\s+Failed\ test.*?\n?.*?t\/test\-selenium\.t at line 148.*\n?) > # as expected > > # Failed test 'is fail' > # in t/test-selenium.t at line 191. > # STDERR is: > # # Failed test 'bar' > # # in t/test-selenium.t at line 190. > # # got: '/monkey/man' > # # expected: 'foo' > # > # not: > # (?-xism:#\s+Failed\ test.*?\n?.*?t\/test\-selenium\.t at line 190.*\n?) > # as expected > Failed 1/4 test scripts, 75.00% okay. 13/77 subtests failed, 83.12% okay. > make: *** [test_dynamic] Error 25 > > ------------------------ > srl > >
Download (untitled) / with headers
text/plain 5.9k
On Mon Jun 26 09:52:54 2006, lukecloss@gmail.com wrote: Show quoted text
> Aha, Yeah, forgot about that. > > I hacked my local Test::Builder::Tester to make these tests pass, and then > forgot about it. > > I'll try to talk to someone here at yapc about it.
I just talked to Schwern, and the test failures are a bug in the latest Test-Simple (it's fixed in Test-Simple svn). I'll push out 1.03 with an updated dependency on Test-Simple when it goes live (hopefully later today). Luke Show quoted text
> > Thanks for the feedback... > > Cheers, > Luke > > On 6/26/06, srl@bestpractical.com via RT
<bug-Test-WWW-Selenium@rt.cpan.org> Show quoted text
> wrote:
> > > > > > Queue: Test-WWW-Selenium > > Ticket <URL: http://rt.cpan.org/Ticket/Display.html?id=20043 > > > > > Luke Closs via RT wrote:
> > > <URL: http://rt.cpan.org/Ticket/Display.html?id=20043 > > > > > > > I wrote a bunch more unit tests and fixed this problem. This
should be Show quoted text
> > > out as T-W-S 1.02 > > > > > > 1.02 - Sat Jun 24 17:25:35 PDT 2006 > > > - Added unit tests for all auto-generated functions > > > - fixed bugs where line numbers and file info wasn't reported > > > - fixed bug where test description was lost > > > - added get_location method to return relative location > > > - removed references to contains and lacks functions > > > - failed action_ok() doesn't die anymore, the test just fails
> > > > Thanks. I'm still seeing failures on this version, though, under perl > > 5.8.8: > > > > lightning:~/.cpan/sources/authors/id/L/LU/LUKEC/Test-WWW-Selenium-1.02 > > srl$ make test > > > > # Failed test 'is fail' > > # in t/test-selenium.t at line 65. > > # STDERR is: > > # # Failed test 'bar' > > # # in t/test-selenium.t at line 64. > > # # got: 'baz' > > # # expected: 'foo' > > # > > # not: > > # (?-xism:#\s+Failed\ test.*?\n?.*?t\/test\-selenium\.t at line 64.*\n?) > > # as expected > > > > # Failed test 'isnt fail' > > # in t/test-selenium.t at line 78. > > # STDERR is: > > # # Failed test 'bar' > > # # in t/test-selenium.t at line 77. > > # # 'foo' > > # # ne > > # # 'foo' > > # > > # not: > > # (?-xism:#\s+Failed\ test.*?\n?.*?t\/test\-selenium\.t at line 77.*\n?) > > # as expected > > > > # Failed test 'like fail' > > # in t/test-selenium.t at line 91. > > # STDERR is: > > # # Failed test 'bar' > > # # in t/test-selenium.t at line 90. > > # # 'baz' > > # # doesn't match '(?-xism:foo)' > > # > > # not: > > # (?-xism:#\s+Failed\ test.*?\n?.*?t\/test\-selenium\.t at line 90.*\n?) > > # as expected > > > > # Failed test 'unlike fail' > > # in t/test-selenium.t at line 104. > > # STDERR is: > > # # Failed test 'bar' > > # # in t/test-selenium.t at line 103. > > # # 'foo' > > # # matches '(?-xism:foo)' > > # > > # not: > > # (?-xism:#\s+Failed\ test.*?\n?.*?t\/test\-selenium\.t at line
103.*\n?) Show quoted text
> > # as expected > > > > # Failed test 'is fail' > > # in t/test-selenium.t at line 65. > > # STDERR is: > > # # Failed test 'bar' > > # # in t/test-selenium.t at line 64. > > # # got: 'baz' > > # # expected: 'foo' > > # > > # not: > > # (?-xism:#\s+Failed\ test.*?\n?.*?t\/test\-selenium\.t at line 64.*\n?) > > # as expected > > > > # Failed test 'isnt fail' > > # in t/test-selenium.t at line 78. > > # STDERR is: > > # # Failed test 'bar' > > # # in t/test-selenium.t at line 77. > > # # 'foo' > > # # ne > > # # 'foo' > > # > > # not: > > # (?-xism:#\s+Failed\ test.*?\n?.*?t\/test\-selenium\.t at line 77.*\n?) > > # as expected > > > > # Failed test 'like fail' > > # in t/test-selenium.t at line 91. > > # STDERR is: > > # # Failed test 'bar' > > # # in t/test-selenium.t at line 90. > > # # 'baz' > > # # doesn't match '(?-xism:foo)' > > # > > # not: > > # (?-xism:#\s+Failed\ test.*?\n?.*?t\/test\-selenium\.t at line 90.*\n?) > > # as expected > > > > # Failed test 'unlike fail' > > # in t/test-selenium.t at line 104. > > # STDERR is: > > # # Failed test 'bar' > > # # in t/test-selenium.t at line 103. > > # # 'foo' > > # # matches '(?-xism:foo)' > > # > > # not: > > # (?-xism:#\s+Failed\ test.*?\n?.*?t\/test\-selenium\.t at line
103.*\n?) Show quoted text
> > # as expected > > > > # Failed test 'is fail' > > # in t/test-selenium.t at line 149. > > # STDERR is: > > # # Failed test 'bar' > > # # in t/test-selenium.t at line 148. > > # # got: 'baz' > > # # expected: 'foo' > > # > > # not: > > # (?-xism:#\s+Failed\ test.*?\n?.*?t\/test\-selenium\.t at line
148.*\n?) Show quoted text
> > # as expected > > > > # Failed test 'is fail' > > # in t/test-selenium.t at line 149. > > # STDERR is: > > # # Failed test 'bar' > > # # in t/test-selenium.t at line 148. > > # # got: 'baz' > > # # expected: 'foo' > > # > > # not: > > # (?-xism:#\s+Failed\ test.*?\n?.*?t\/test\-selenium\.t at line
148.*\n?) Show quoted text
> > # as expected > > > > # Failed test 'is fail' > > # in t/test-selenium.t at line 149. > > # STDERR is: > > # # Failed test 'bar' > > # # in t/test-selenium.t at line 148. > > # # got: 'baz' > > # # expected: 'foo' > > # > > # not: > > # (?-xism:#\s+Failed\ test.*?\n?.*?t\/test\-selenium\.t at line
148.*\n?) Show quoted text
> > # as expected > > > > # Failed test 'is fail' > > # in t/test-selenium.t at line 149. > > # STDERR is: > > # # Failed test 'bar' > > # # in t/test-selenium.t at line 148. > > # # got: 'baz' > > # # expected: 'foo' > > # > > # not: > > # (?-xism:#\s+Failed\ test.*?\n?.*?t\/test\-selenium\.t at line
148.*\n?) Show quoted text
> > # as expected > > > > # Failed test 'is fail' > > # in t/test-selenium.t at line 191. > > # STDERR is: > > # # Failed test 'bar' > > # # in t/test-selenium.t at line 190. > > # # got: '/monkey/man' > > # # expected: 'foo' > > # > > # not: > > # (?-xism:#\s+Failed\ test.*?\n?.*?t\/test\-selenium\.t at line
190.*\n?) Show quoted text
> > # as expected > > Failed 1/4 test scripts, 75.00% okay. 13/77 subtests failed, 83.12%
okay. Show quoted text
> > make: *** [test_dynamic] Error 25 > > > > ------------------------ > > srl > > > >
This was fixed long ago.


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.