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

Setting test category in the test #410

Closed
authorjapps opened this issue Jun 18, 2020 · 3 comments
Closed

Setting test category in the test #410

authorjapps opened this issue Jun 18, 2020 · 3 comments
Assignees
Labels

Comments

@authorjapps
Copy link
Owner

authorjapps commented Jun 18, 2020

Background:

From Slack:
Raised by @Julian

Hi guys, really nice framework. Would like to know how I can change the test category. The default is:

String DEFAULT_REGRESSION_CATEGORY = "Regression";

AC1

As an SDET or Dev
I want to set the test category at test level
So that I can get filter these tests in the HTML report after the test run

Things to do:

  • e.g. Allow #category1 #category2 in the test scenario free text
  • Follow the implementation of @Author1 which sets the filter for authors
    • Look for ZeroCodeReportGeneratorImpl#optionalAuthor method implementation and usage
  • Do the similar impl for starting with #free-text and set to Extent category(which is currently set to Regression)

AC3

Allow

  • @Author for capturing author name e.g. David, Alex, Anton etc
    • Deprecate @@Author
  • #Category fro capturing category information e.g. DIT, DEV, SIT, Small-Regression, Smoke etc

Also relates to:
#207 (not a AC of this ticket)

@harshasridhar
Copy link
Collaborator

@authorjapps, can I work on it?
Need some guidance though, as I'm relatively new to the code base.

@authorjapps
Copy link
Owner Author

@harshasridhar , please go ahead. Thanks!

Please ping us in Slack in case you need any help ✌️

@authorjapps
Copy link
Owner Author

Available in v 1.3.23

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants