Bug Tracker

Modify

Ticket #5426 (closed bug: fixed)

Opened 4 years ago

Last modified 3 years ago

QUnit microformat incorrect

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

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

comment:1 Changed 3 years ago by joern

  • Status changed from new to closed
  • Resolution set to fixed

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

Also updated the wiki page to reflect the change.

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.