Page History
...
Feature File Naming Convention
The max filename will always be 50 characters without the file extension and will follow the rules below:
When "Generate features file name using summary" is disabled
If the summary option, in the cucumber options, is disabled:
- and the feature contains a requirement:
|
- and no requirement is present on the feature and there is a small amount of tests:
<sequential_id_one_based>[_<issue_test_key_1>,<issue_test_key_2>,...] |
- and no requirement is present on the feature and there is a large enough amount of tests to exceed the filename limit:
|
When "Generate features file name using summary" is enabled
If the summary option, in the cucumber options, is enabled:
- and the feature contains a requirement:
|
- and no requirement is present on the feature:
|
Note: Summaries will be truncated to prevent filename from exceeding the 50 character limit.
Example
Exporting a Test Execution with the following Tests:
...
File | Requirements | Precondition | Tests | Filename |
---|---|---|---|---|
1 | R1 | C1 | T1, T10 | 1_R1_C1.feature |
2 | R1 | - | T2 | 2_R1.feature |
3 | R2 | C1 | T4, T7 | 3_R2_C1.feature |
4 | R2 | C3 | T5 | 4_R2_C3.feature |
5 | R2 | - | T8 | 5_R2.feature |
6 | R3 | - | T8 | 6_R3.feature |
7 | R3 | C1 | T7 | 7_R3_C1.feature |
8 | - | C2 | T3, T9 | 8_T3,T9_C2.feature |
9 | - | - | T6 | 9_T6.feature |