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

#649 Acceptance tests #1846

Merged
merged 3 commits into from
Dec 8, 2023
Merged

#649 Acceptance tests #1846

merged 3 commits into from
Dec 8, 2023

Conversation

ks1990cn
Copy link
Contributor

@ks1990cn ks1990cn commented Dec 7, 2023

Fixes #649

Modifying acceptance test case as per issue.

Proposed Changes

  • Changes done to verify different URLs
  • Adding Traits to recognise easily for issue fixed verified

[Theory]
[InlineData("/products")]
[InlineData("/products/")]
[Trait("Issue","Should fix issue 649")]
Copy link
Contributor Author

Choose a reason for hiding this comment

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

@raman-m Here I am using Trait attribute here with Issue key.
Trait have key,value feature which provides easy way to filter out issue category verification test cases.
I am not writing another test case with method name "should_fix_issue_649", cause it will be eventually same by execution.
We can categorize with Issue key when we do verification from checkbox filter in test explorer.
image

Copy link
Contributor Author

Choose a reason for hiding this comment

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

What are your thoughts on it @raman-m ?

Copy link
Member

@raman-m raman-m Dec 8, 2023

Choose a reason for hiding this comment

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

[Trait] is a nice feature of xUnit! Make sense to use...

Copy link
Member

Choose a reason for hiding this comment

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

Officially it is better to have separate tests for the issue to close it finally

@raman-m raman-m self-assigned this Dec 8, 2023
@raman-m raman-m added the bug Identified as a potential bug label Dec 8, 2023
@raman-m
Copy link
Member

raman-m commented Dec 8, 2023

Reviewing...

@raman-m raman-m self-requested a review December 8, 2023 12:56
@raman-m raman-m changed the title Changes related to acceptance test case of issue 649 #649 Acceptance tests Dec 8, 2023
Copy link
Member

@raman-m raman-m left a comment

Choose a reason for hiding this comment

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

Ready to merge ✔️

@raman-m raman-m merged commit 6b1f332 into ThreeMammals:develop Dec 8, 2023
2 checks passed
@raman-m
Copy link
Member

raman-m commented Dec 8, 2023

Congrats, Tanmay! 🥳 This is your first merged PR! 🎉

@raman-m raman-m added this to the November'23 milestone Dec 8, 2023
@raman-m raman-m added the Nov'23 November 2023 release label Dec 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Identified as a potential bug Nov'23 November 2023 release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Upstream route templates that end in a slash are not 'found'.
2 participants