pytest-dev/pytest-html

[Feature Request] Aggregate by exception

開放

#195 建立於 2019年1月22日

 (7 則留言) (0 個反應) (0 位負責人)Python (253 個分叉)github user discovery
enhancementhelp wanted

倉庫指標

星標
 (770 顆星)
PR 合併指標
 (平均合併 8小時 28分鐘) (30 天內合併 9 個 PR)

描述

I don't know if this is the right place to do this, but I'd love a way of aggregating failures by exception type, message, or error line. In a large codebase, a small change can generate a cascade of failures that actually are only down to errors in one or two places. It would be really helpful to be able to see that although 50 tests failed, 40 of them were from a db connectivity error and the other 10 arose from the same error in a utility function.

The alternative would be to tackle it at the CLI level, but I like the idea of being able to dynamically aggregate by different views to work out what's going on.

Happy to aid in the development if this would be a welcome feature.

貢獻者指南