Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add testId's to Cucumber tests importable in TestRail #1059

Merged
merged 2 commits into from
Nov 8, 2024
Merged

Conversation

tloubrieu-jpl
Copy link
Member

🗒️ Summary

TestId's are added in the feature file. They will be used test result import in TestRail and will help to have a coverage traceability against test cases and github tickets.

⚙️ Test Data and/or Report

Run the test and import them as specified in "Validate automated test" in the wiki https://wiki.jpl.nasa.gov/display/PDSEN/Test+preparation

@tloubrieu-jpl tloubrieu-jpl requested a review from a team as a code owner November 8, 2024 16:55
Copy link
Member

@nutjob4life nutjob4life left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks fine to me … but just to be sure:

$ mvn clean test

[WARNING] Tests run: 259, Failures: 0, Errors: 0, Skipped: 23
[INFO] 
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------

Good to go!

@@ -1,75 +1,75 @@
Feature: Running integration tests for validate module
Feature: validate_integration_36
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@tloubrieu-jpl is 36 supposed to represent 3.6.*? if so, is it ok if I update this to something like validate_integration_3_6?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

or would validate_integration_3.6 work?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jordanpadams it is absolutelly ok to update them as _3_6.

I did not try the option with the . because the dot is already used as a separator between the feature id and the test id to create the testrail id.

@jordanpadams jordanpadams merged commit 47f128b into main Nov 8, 2024
0 of 3 checks passed
@jordanpadams jordanpadams deleted the testrail branch November 8, 2024 22:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants