[Webkit-unassigned] [Bug 64215] NRWT results.html page should show a count of the number of tests in each category

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed May 9 20:16:18 PDT 2012


https://bugs.webkit.org/show_bug.cgi?id=64215





--- Comment #6 from Ojan Vafai <ojan at chromium.org>  2012-05-09 20:15:21 PST ---
(In reply to comment #5)
> (In reply to comment #4)
> > (In reply to comment #3)
> > > I want this because it provides an "at a glance" way to know if you broke more tests than were already broken when making a change.
> > 
> > I see. That's fine with me. This patch just needs a test then. The existing test may actually cover this, but will need a new expected result. It just runs with run-webkit-tests since it's in the LayoutTests directory.
> 
> Hi,
> I ran the nrwt for this test, and it didn't fail. It seems the existing test doesn't cover this hence I've looked the results-test.js how I could write a test for it, but I've lost in the code :(
> Could you explain how I should do that?

Take any of the existing runTest calls and add the appropriate assertions that the number of failing tests matches the number of failing tests in the mockResults object. Make sure to cover the testList case and the failingTestsTable case.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list