Versions Compared

Key

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

...

After being exported, the created .feature(s) will contain references to the Test issue key, eventually prefixed (e.g. "TEST_") depending on an Xray global setting, and the covered "requirement" issue key,  if that's the case. The naming of these files is detailed in Export Cucumber Features backup.


Code Block
titlefeatures/1_XT-225.feature
collapsetrue
@REQ_XT-225
Feature: Login feature

	@TEST_XT-226
	Scenario: Test Login feature
		Scenario Outline: As a user, I can log into the secure area
				Given I am on the login page
				When I login with <username> and <password>
				Then I should see a flash message saying <message>
				
					Examples:
						| username | password             | message                        |
						| tomsmith | SuperSecretPassword! | You logged into a secure area! |
						| foobar   | barfoo               | Your username is invalid.      |

...

After being exported, the created .feature(s) will contain references to the Test issue keys, eventually prefixed (e.g. "TEST_") depending on an Xray global setting, and the covered "requirement" issue key,  if that's the case. The naming of these files is detailed in Export Cucumber Features backup.


Code Block
titlefeatures/1_COM_19.feature
@REQ_XT-225
Feature: Login feature

	@TEST_XT-226
	Scenario Outline: As a user, I can log into the secure area
		Given I am on the login page
		When I login with <username> and <password>
		Then I should see a flash message saying <message>
		
			Examples:
				| username | password             | message                        |
				| tomsmith | SuperSecretPassword! | You logged into a secure area! |
				| foobar   | barfoo               | Your username is invalid.      |

...