You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|`--version`| Displays the current version of Fossil Test. | Useful for verifying the version of the tool in use. |
85
85
|`--help`| Shows help message with usage instructions. | Provides a quick reference for all available commands. |
86
-
|`--info`| Displays detailed information about the test run. | Includes information such as test count, duration, and configuration. |
87
-
|`reverse [enable/disable]`| Enables or disables reverse order of test execution. | Useful for debugging or ensuring the tests don't depend on execution order. |
88
-
|`shuffle [enable/disable]`| Enables or disables shuffling of test execution order. | Helps identify order-dependent issues in the test suite. |
89
-
|`dry-run [enable/disable]`| Enables or disables dry run mode, showing which tests will execute without running them. | Ideal for verifying test selection criteria before actual execution. |
90
-
|`repeat=<number>`| Repeats the test suite a specified number of times. | Handy for stress-testing or reproducing intermittent failures. |
91
-
92
-
### Key Notes Summary:
93
-
-**Version**: Quickly check the installed version of Fossil Test.
94
-
-**Help**: Access usage instructions and command references.
95
-
-**Info**: Get detailed insights about the test run, including test count and duration.
96
-
-**Reverse and Shuffle**: Help debug issues by manipulating test execution order.
97
-
-**Repeat**: Ideal for reliability testing by repeatedly executing tests.
98
-
-**Dry Run**: Provides a preview of the test plan without running the tests, useful for preparation and validation.
99
-
100
-
### Usage
101
-
102
-
To use the Fossil Test CLI, navigate to your project directory and run the desired command. For example, to check the version of Fossil Test, use:
103
-
104
-
```sh
105
-
fossil-test --version
106
-
```
107
-
108
-
To display help information, use:
109
-
110
-
```sh
111
-
fossil-test --help
112
-
```
113
-
114
-
For detailed information about the test run, use:
115
-
116
-
```sh
117
-
fossil-test --info
118
-
```
119
-
120
-
To enable reverse order of test execution, use:
121
-
122
-
```sh
123
-
fossil-test reverse enable
124
-
```
125
-
126
-
To disable reverse order of test execution, use:
127
-
128
-
```sh
129
-
fossil-test reverse disable
130
-
```
131
-
132
-
To enable shuffling of test execution order, use:
133
-
134
-
```sh
135
-
fossil-test shuffle enable
136
-
```
137
-
138
-
To disable shuffling of test execution order, use:
139
-
140
-
```sh
141
-
fossil-test shuffle disable
142
-
```
143
-
144
-
To perform a dry run, use:
145
-
146
-
```sh
147
-
fossil-test dry-run enable
148
-
```
149
-
150
-
To disable dry run mode, use:
151
-
152
-
```sh
153
-
fossil-test dry-run disable
154
-
```
155
-
156
-
To repeat the test suite a specified number of times, use:
157
-
158
-
```sh
159
-
fossil-test repeat=<number>
160
-
```
161
-
162
-
---
86
+
|`--info`| Displays detailed information about the test run. | Includes information such as test count, duration, and configuration. |
87
+
|`reverse [enable/disable]`| Enables or disables reverse order of test execution. | Useful for debugging or ensuring the tests don't depend on execution order. |
88
+
|`shuffle [enable/disable]`| Enables or disables shuffling of test execution order. | Helps identify order-dependent issues in the test suite. |
89
+
|`dry-run [enable/disable]`| Enables or disables dry run mode, showing which tests will execute without running them. | Ideal for verifying test selection criteria before actual execution. |
90
+
|`repeat <number>`| Repeats the test suite a specified number of times. | Handy for stress-testing or reproducing intermittent failures. |
91
+
|`color [enable/disable]`| Enables or disables colored output. | Enhances readability in supported terminals. |
92
+
|`format <plain, ci, jellyfish>`| Selects the output format for test results. | Affects how test data is displayed; useful for visual or machine-parsed output. |
93
+
|`summary <plain, ci, jellyfish>`| Sets the level of summary output after test execution. |`ci` is minimal, `jellyfish` is smart test mode, and `plain` is default classic. |
0 commit comments