Skip to main content

Bug Tracker

Side navigation

#3062 closed bug (worksforme)

Opened June 19, 2008 06:43AM UTC

Closed June 10, 2009 09:29AM UTC

http://jquery.com/test not deterministic

Reported by: Tlalox Owned by: joern
Priority: major Milestone: 1.3
Component: qunit Version: 1.2.6
Keywords: Cc:
Blocked by: Blocking:
Description

It seems that the jQuery Test Suite isn't deterministic. At least it often shows different results each time I start the test (used Firefox/Camino, Safari/Webkit and Opera) under OS-X 10.5.3 (PowerPC).

See the corresponding WebKit Bug.

Attachments (0)
Change History (4)

Changed June 24, 2008 06:57PM UTC by flesler comment:1

need: ReviewTest Case

Could you tell us, different in what way you mean ?

You see tests failing.. or just taking longer ?

ajax module's tests do fail sometimes, due to synchronism edge cases. That's acceptable and you can just rerun adding ?ajax.

Please add some more detail.

Changed July 01, 2008 04:12PM UTC by Tlalox comment:2

Sorry for the late reply, I haven't got an e-mail that there's an answer for this ticket - you should consider to active this feature in Trac.

So if ajax module's tests do fail "sometimes" (and this is what I and other have experienced) the whole test suit cannot be used to check whether a browser or the jQuery implementation works accurate. Is this interpretation correct?

Isn't one of the major requirement for a test that it is deterministic? And what benefit do you get from such tests?

Changed July 02, 2008 02:50PM UTC by flesler comment:3

You should consult Joern about this, he maintains QUnit.

Please drop him an email about this ticket, I'll reasign it to him and he'll decide whether this is fixable or should just be ignored.

Thanks

joern.zaefferer[at]googlemail[dot]com

Changed June 10, 2009 09:29AM UTC by joern comment:4

resolution: → worksforme
status: newclosed

Ajax tests don't use timesouts any more (not by default), making the overall testsuite much more reliable. Any other specific issues have to be discussed on their own.