From f56ec99f1967452c915d95c079b420395754c8bf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20M=C3=B6ller?= Date: Mon, 6 May 2019 09:07:03 +0200 Subject: [PATCH] Enhancement: Sort option values --- phpunit.xsd | 10 +++++----- src/TextUI/Help.php | 2 +- tests/end-to-end/cli/_files/output-cli-help-color.txt | 2 +- tests/end-to-end/cli/_files/output-cli-usage.txt | 2 +- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/phpunit.xsd b/phpunit.xsd index 6eba998282c..2a32987971e 100644 --- a/phpunit.xsd +++ b/phpunit.xsd @@ -176,19 +176,19 @@ - - - + - + + - + + diff --git a/src/TextUI/Help.php b/src/TextUI/Help.php index 62a4689e1f8..ce0fd3af235 100644 --- a/src/TextUI/Help.php +++ b/src/TextUI/Help.php @@ -100,7 +100,7 @@ final class Help ['arg' => '--printer ', 'desc' => 'TestListener implementation to use'], ['spacer' => ''], - ['arg' => '--order-by=', 'desc' => 'Run tests in order: default|reverse|random|defects|no-depends|duration'], + ['arg' => '--order-by=', 'desc' => 'Run tests in order: default|defects|duration|no-depends|random|reverse'], ['arg' => '--random-order-seed=', 'desc' => 'Use a specific random seed for random order'], ['arg' => '--cache-result', 'desc' => 'Write test results to cache file'], ['arg' => '--do-not-cache-result', 'desc' => 'Do not write test results to cache file'], diff --git a/tests/end-to-end/cli/_files/output-cli-help-color.txt b/tests/end-to-end/cli/_files/output-cli-help-color.txt index b1e08da09ff..a889abbb3c3 100644 --- a/tests/end-to-end/cli/_files/output-cli-help-color.txt +++ b/tests/end-to-end/cli/_files/output-cli-help-color.txt @@ -99,7 +99,7 @@ --printer   TestListener implementation to use --order-by=  Run tests in order: - default|reverse|random|defects|no-depends|duration + default|defects|duration|no-depends|random|reverse --random-order-seed=  Use a specific random seed for random order --cache-result  Write test results to cache file diff --git a/tests/end-to-end/cli/_files/output-cli-usage.txt b/tests/end-to-end/cli/_files/output-cli-usage.txt index 7f6ba374681..ce9ae1eea13 100644 --- a/tests/end-to-end/cli/_files/output-cli-usage.txt +++ b/tests/end-to-end/cli/_files/output-cli-usage.txt @@ -77,7 +77,7 @@ Test Execution Options: --testdox-exclude-group Exclude tests from the specified group(s) --printer TestListener implementation to use - --order-by= Run tests in order: default|reverse|random|defects|no-depends|duration + --order-by= Run tests in order: default|defects|duration|no-depends|random|reverse --random-order-seed= Use a specific random seed for random order --cache-result Write test results to cache file --do-not-cache-result Do not write test results to cache file