Ticket #4487 (closed enhancement: fixed)

Opened 3 months ago

Last modified 8 weeks ago

report multiple tests with the same results at the same time

Reported by: exarkun Owned by: exarkun
Priority: normal Milestone:
Component: trial Keywords:
Cc: Branch: branches/trial-shorter-summary-4487
Author: exarkun Launchpad Bug:

Description

If there are several tests which are skipped (or todo'd, or fail) for the same reason, trial reports them each separately, duplicating the reason each time.

It would be nicer if it grouped together these reports by reason, so that any particular reason would only be reported once, and all of the tests affected by it would be collected together nearby.

Attachments

trial.txt Download (39.5 KB) - added by exarkun 2 months ago.

Change History

Changed 2 months ago by exarkun

  • branch set to branches/trial-shorter-summary-4487
  • branch_author set to exarkun

(In [29464]) Branching to 'trial-shorter-summary-4487'

Changed 2 months ago by exarkun

Implemented something. Attached is an example of the new output when running Twisted's test suite.

Changed 2 months ago by exarkun

Changed 2 months ago by exarkun

  • keywords review added
  • owner jml deleted

Changed 8 weeks ago by Screwtape

  • keywords review removed
  • owner set to exarkun

I ran the tests with every reporter that works on my system, and it prints nicely summarized output every time (and no output at all for "summary", as it should). I couldn't test "subunit", but I don't know any reason why it would break when everything else works.

+1 for merging from me.

Changed 8 weeks ago by exarkun

  • status changed from new to closed
  • resolution set to fixed

(In [29761]) Merge trial-shorter-summary-4487

Author: exarkun Reviewer: Screwtape Fixes: #4487

Most trial reporters now reports multiple tests with the same results in a combined display in the summary section, shorting the overall output.

Note: See TracTickets for help on using tickets.