Open MichaelChirico opened 3 months ago
How about the ability to add a sort key to the skip object? Then we'd just sort by that, and you'd be free to define as you wish.
The downside is I'm looking at the output of someone else's suite, so it's not really in my control (unless I send them a PR, nor particularly scalable).
Really liking the recent-ish change to batch skip reasons all in one blob. One further improvement would be better sorting of these skips:
As we see here, the
timeSeries
skip might be better off grouped with thefGarch
,mapdata
, andMSwM
skips.One natural way to accomplish this would be for the error signal emitted by
skip()
to take a custom class, e.g.Then when printing the
Skipped tests
section, we iterated over skip classes.Note that approaches building off the text in the skip message will be fraught, e.g. alphabetizing or other pattern matching. The custom signal class approach seems the most generalizable.