Skip to content

results: group failed tests by normalised message #697

Open

Description

@ai94iq

robotcode results show --failed lists each failure on its own (checked on robotcode 2.8.0; its options are --status, --search, --search-regex, --top, --message-chars, no grouping). In large runs many failures share one cause and differ only by ids, hosts or timestamps:

Order 4711 not found (GET https://api-1.example.com/orders/4711)
Order 4712 not found (GET https://api-2.example.com/orders/4712)

Proposal: robotcode results show --failed --group-by message, which replaces numbers, UUIDs, hosts and timestamps with placeholders and prints each group once with its count and test names:

2x  Order {id} not found (GET {host}/orders/{id})
    Orders.Get Order By Id, Orders.Get Archived Order

Context: MarketSquare/robotframework-plugins#12. Happy to send a PR if the shape is right.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions