Skip to content

Commit

Permalink
Enhancement: Sort option values
Browse files Browse the repository at this point in the history
  • Loading branch information
localheinz authored and sebastianbergmann committed May 8, 2019
1 parent 6c337bb commit f56ec99
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
10 changes: 5 additions & 5 deletions phpunit.xsd
Expand Up @@ -176,19 +176,19 @@
<xs:restriction base="xs:string">
<xs:enumeration value="default"/>
<xs:enumeration value="defects"/>
<xs:enumeration value="duration"/>
<xs:enumeration value="depends"/>
<xs:enumeration value="depends,defects"/>
<xs:enumeration value="random"/>
<xs:enumeration value="reverse"/>
<xs:enumeration value="depends,duration"/>
<xs:enumeration value="depends,random"/>
<xs:enumeration value="depends,reverse"/>
<xs:enumeration value="depends,duration"/>
<xs:enumeration value="duration"/>
<xs:enumeration value="no-depends"/>
<xs:enumeration value="no-depends,defects"/>
<xs:enumeration value="no-depends,duration"/>
<xs:enumeration value="no-depends,random"/>
<xs:enumeration value="no-depends,reverse"/>
<xs:enumeration value="no-depends,duration"/>
<xs:enumeration value="random"/>
<xs:enumeration value="reverse"/>
</xs:restriction>
</xs:simpleType>
<xs:complexType name="fileFilterType">
Expand Down
2 changes: 1 addition & 1 deletion src/TextUI/Help.php
Expand Up @@ -100,7 +100,7 @@ final class Help
['arg' => '--printer <printer>', 'desc' => 'TestListener implementation to use'],
['spacer' => ''],

['arg' => '--order-by=<order>', 'desc' => 'Run tests in order: default|reverse|random|defects|no-depends|duration'],
['arg' => '--order-by=<order>', 'desc' => 'Run tests in order: default|defects|duration|no-depends|random|reverse'],
['arg' => '--random-order-seed=<N>', 'desc' => 'Use a specific random seed <N> 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'],
Expand Down
2 changes: 1 addition & 1 deletion tests/end-to-end/cli/_files/output-cli-help-color.txt
Expand Up @@ -99,7 +99,7 @@
--printer <printer>  TestListener implementation to use

--order-by=<order>  Run tests in order:
default|reverse|random|defects|no-depends|duration
default|defects|duration|no-depends|random|reverse
--random-order-seed=<N>  Use a specific random seed <N> for random
order
--cache-result  Write test results to cache file
Expand Down
2 changes: 1 addition & 1 deletion tests/end-to-end/cli/_files/output-cli-usage.txt
Expand Up @@ -77,7 +77,7 @@ Test Execution Options:
--testdox-exclude-group Exclude tests from the specified group(s)
--printer <printer> TestListener implementation to use

--order-by=<order> Run tests in order: default|reverse|random|defects|no-depends|duration
--order-by=<order> Run tests in order: default|defects|duration|no-depends|random|reverse
--random-order-seed=<N> Use a specific random seed <N> for random order
--cache-result Write test results to cache file
--do-not-cache-result Do not write test results to cache file
Expand Down

0 comments on commit f56ec99

Please sign in to comment.