mirror of
https://github.com/dorny/test-reporter.git
synced 2026-05-06 18:47:35 +02: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
093d99bd59
commit
0e1fe1690f
4 changed files with 52 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