Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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:

<sequential_id_one_based>[_<issue_requirement_key>][_<issue_precondition_key>]

  • 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:

<sequential_id_one_based>[_<issue_test_key_1>,<issue_test_key_2>,...][(+[number_of_remaining_tests])]

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:

<sequential_id_one_based>[_<issue_requirement_summary>]

  • and no requirement is present on the feature:

<sequential_id_one_based>[_<issue_test_summary_1>][(+[number_of_remaining_tests])]

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
1R1C1T1, T101_R1_C1.feature
2R1-T22_R1.feature
3R2C1T4, T73_R2_C1.feature
4R2C3T54_R2_C3.feature
5R2-T85_R2.feature
6R3-T86_R3.feature
7R3C1T77_R3_C1.feature
8-C2T3, T98_T3,T9_C2.feature
9--T69_T6.feature