mirror of
https://github.com/dorny/test-reporter.git
synced 2026-03-22 07:52:14 +01:00
feat: add sort-suites input to order suites by time descending
Add a new 'sort-suites' input parameter that accepts 'name' (default, alphabetical) or 'time-desc' (slowest first). This allows consumers to surface the slowest test suites at the top of the report. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
parent
a810f9bf83
commit
2380ffd7fe
4 changed files with 42 additions and 8 deletions
|
|
@ -46,6 +46,13 @@ inputs:
|
|||
- none
|
||||
required: false
|
||||
default: 'all'
|
||||
sort-suites:
|
||||
description: |
|
||||
Sort order for test suites. Supported options:
|
||||
- name: Sort alphabetically by name (default)
|
||||
- time-desc: Sort by execution time, slowest first
|
||||
required: false
|
||||
default: 'name'
|
||||
list-tests:
|
||||
description: |
|
||||
Limits which test cases are listed. Supported options:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue