Closed Bug 754361 Opened 12 years ago Closed 12 years ago

Expected failures not showing up in todo count

Categories

(Remote Protocol :: Marionette, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
mozilla15

People

(Reporter: jgriffin, Assigned: jgriffin)

Details

Tests marked as expected failures using the @unittest.expectedFailure
decorator get correctly flagged during the test run, but the summary doesn't count them as 'todo', which it should.

To reproduce, run test_battery.py and test_execute_script.py.  Results:

SUMMARY
-------
passed: 15
failed: 0
todo: 0

There should be one todo, from test_battery.  If you run test_battery by itself, you get:

SUMMARY
-------
passed: 1
failed: 0
todo: 1
http://hg.mozilla.org/mozilla-central/rev/1987beeb0038
Assignee: nobody → jgriffin
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla15
Product: Testing → Remote Protocol
You need to log in before you can comment on or make changes to this bug.