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. |
80
+
|`--help`| Shows help message with usage instructions. | Provides a quick reference for all available commands. |
81
+
|`--info`| Displays detailed information about the test run. | Includes information such as test count, duration, and configuration. |
82
+
|`reverse [enable/disable]`| Enables or disables reverse order of test execution. | Useful for debugging or ensuring the tests don't depend on execution order. |
83
+
|`shuffle [enable/disable]`| Enables or disables shuffling of test execution order. | Helps identify order-dependent issues in the test suite. |
84
+
|`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. |
85
+
|`repeat=<number>`| Repeats the test suite a specified number of times. | Handy for stress-testing or reproducing intermittent failures. |
86
+
87
+
### Key Notes Summary:
88
+
-**Version**: Quickly check the installed version of Fossil Test.
89
+
-**Help**: Access usage instructions and command references.
90
+
-**Info**: Get detailed insights about the test run, including test count and duration.
91
+
-**Reverse and Shuffle**: Help debug issues by manipulating test execution order.
92
+
-**Repeat**: Ideal for reliability testing by repeatedly executing tests.
93
+
-**Dry Run**: Provides a preview of the test plan without running the tests, useful for preparation and validation.
94
+
95
+
### Usage
96
+
97
+
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:
98
+
99
+
```sh
100
+
fossil-test --version
101
+
```
102
+
103
+
To display help information, use:
104
+
105
+
```sh
106
+
fossil-test --help
107
+
```
108
+
109
+
For detailed information about the test run, use:
110
+
111
+
```sh
112
+
fossil-test --info
113
+
```
114
+
115
+
To enable reverse order of test execution, use:
116
+
117
+
```sh
118
+
fossil-test reverse enable
119
+
```
120
+
121
+
To disable reverse order of test execution, use:
122
+
123
+
```sh
124
+
fossil-test reverse disable
125
+
```
126
+
127
+
To enable shuffling of test execution order, use:
128
+
129
+
```sh
130
+
fossil-test shuffle enable
131
+
```
132
+
133
+
To disable shuffling of test execution order, use:
134
+
135
+
```sh
136
+
fossil-test shuffle disable
137
+
```
138
+
139
+
To perform a dry run, use:
140
+
141
+
```sh
142
+
fossil-test dry-run enable
143
+
```
144
+
145
+
To disable dry run mode, use:
146
+
147
+
```sh
148
+
fossil-test dry-run disable
149
+
```
150
+
151
+
To repeat the test suite a specified number of times, use:
0 commit comments