Opened 15 years ago
Closed 14 years ago
#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: | ||
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.
Change History (4)
comment:1 Changed 15 years ago by
need: | Review → Test Case |
---|
comment:2 Changed 15 years ago by
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?
comment:3 Changed 15 years ago by
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
comment:4 Changed 14 years ago by
Resolution: | → worksforme |
---|---|
Status: | new → closed |
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.
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.