Page History
...
Each .feature file will be processed as follows.and will try to find or create a Test/Pre-Condition inside the project given in the projectKey parameter. We use the following rules:
Tests:
- try to find the Test by key (in that project), if found then update it; else...
- try to find the Test having both:
- a label with the original relative path of .feature (e.g. "core/sample_addition.feature)
- a label named "id:xxx", where xxx is some number (e.g. "id:1", "id:32"); this label comes from a scenario/scenario outline's tag
- no other label ending in ".feature"
- try to find the Test having both:
- a label with the original relative path of .feature (e.g. "core/sample_addition.feature)
- the same summary
- no other label ending in ".feature"
- try to find the Test by summary (in that project), if found then update it; else...having:
- the same Summary
- no label ending in ".feature", except the one corresponding to the relative path of the Cucumber file being imported
- create Test in that project and add a label with the relative path of the feature, and another label corresponding to a tag "id:xxx" (if it exists). The tags used in the scenario/scenario outline are also added as labels.
Pre-Conditions:
- try to find the Pre-Condition by key (in that project), if found then update it; else...
- try to find the Pre-Condition having both:
- a label with the original relative path of .feature (e.g. "core/sample_addition.feature)
- no other label ending in ".feature"
- try to find the Pre-Condition by summary (in that project), if found then update it; else...the Pre-Condition having both:
- the same Summary
- no label ending in ".feature", except the one corresponding to the relative path of the Cucumber file being imported
- create Pre-Condition in that project and add a label with the relative path of the feature
...