Test.More bug report: failing test regarded as successful.

0 views
Skip to first unread message

Mark Stosberg

unread,
Dec 1, 2005, 10:52:00 AM12/1/05
to JSAN Authors
Here's a patch for HTML.FormValidator's test suite which illustrates a
bug in Test.More:

http://mark.stosberg.com/javascript/HTML.FormValidator.patch

This test script fails: "20_basic_library_test.t.html", but when run
from "index.html", it is reported as "success".

I made sure to freshen the test suite shipped with H.F.V, and also make
sure I was using a "plan". Neither changed the behavior.

Mark

David Wheeler

unread,
Dec 1, 2005, 8:04:04 PM12/1/05
to jsan-a...@googlegroups.com
On Dec 1, 2005, at 7:52 AM, Mark Stosberg wrote:

> This test script fails: "20_basic_library_test.t.html", but when run
> from "index.html", it is reported as "success".

Yes, I've seen this before, but haven't had time to chase it down.
Anyone else had a chance, yet? I imagine that I'll find the tuits for
it when I'm doing serious JS development again, hopefully around
January.

Best,

David

Reply all
Reply to author
Forward
0 new messages