Skip to main content

Bug Tracker

Side navigation

#5426 closed bug (fixed)

Opened October 30, 2009 12:43AM UTC

Closed December 01, 2009 05:27PM UTC

QUnit microformat incorrect

Reported by: warpr Owned by: joern
Priority: major Milestone: 1.4
Component: qunit Version: 1.3.2
Keywords: qunit, microformat Cc:
Blocked by: Blocking:
Description

The QUnit documentation at

http://docs.jquery.com/QUnit#Integration_into_Browser_Automation_Tools

describes the microformat for test results as:

<span class="bad">0</span> tests of <span class="all">565</span> failed.

which looks ok, "span.bad" contains the number of failed tests and "span.all" the total.

However, the actual demo on that page has:

<span class="bad">5</span> tests of <span class="all">6</span> passed, 1 failed.

Here "span.bad" contains the number of successful tests, and the number of failed tests doesn't currently have a <span>.

Attachments (0)
Change History (1)

Changed December 01, 2009 05:27PM UTC by joern comment:1

resolution: → fixed
status: newclosed

Fixed in http://github.com/jquery/qunit/commit/cae393afc8dfa2eb7aab367d8d4008187633876f

Also updated the wiki page to reflect the change.