Ticket #3062 (closed bug: worksforme)
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: | ||
| Blocking: | Blocked by: |
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.
Change History
comment:2 Changed 5 years ago by Tlalox
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?
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

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.