Closed Bug 980098 Opened 11 years ago Closed 10 years ago

When a test fails, it would be nice if it included the line number within the test of the failed assertion

Categories

(Testing :: Mochitest, defect)

x86_64
Windows 8.1
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1101039

People

(Reporter: jaws, Unassigned)

Details

Some tests reuse the same assertion throughout the test. It would be nice if when a test failed it included the current line number of the assertion so that it is easier to find the failure within the test. Currently, one has to either add some arbitrary marker to each assertion text or read very closely at the logs to see where the failure was.
Marking this as a duplicate of bug 1101039 since a POC patch is attached there.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.