Bug Tracker

Opened 10 years ago

Closed 10 years ago

#5426 closed bug (fixed)

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>.

Change History (1)

comment:1 Changed 10 years ago by joern

Resolution: fixed
Status: newclosed

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

Also updated the wiki page to reflect the change.

Note: See TracTickets for help on using tickets.