Closed JCantu248 closed 12 months ago
Requirement Update - It was determined that the argument is strictly an email domain, and does not necessarily linked to a web/request url. So the goal of this ticket is to create a validation on the string only.
I see that you have linked this PR with issue #36. Typically, we also like to explicitly put something like "This PR resolves #36." in the PR's "Motivation and context" section above.
Totals | |
---|---|
Change from base Build 6199482471: | 0.0% |
Covered Lines: | 0 |
Relevant Lines: | 0 |
One thing I just noticed is that you have the checkbox for post-merge item "Create a release" checked. That shouldn't be checked yet since this PR hasn't been merged yet. Also, you have not been using bump_version.sh
(or any other mechanism, but that is the easiest one) to manage the version string for this repo. Once you start doing that, then it will make sense for you to start creating releases after each PR is merged.
π£ Description
Add code to validate the DOMAIN_TESTED argument is a valid email domain.
π Motivation and context
This code will validate user input for sanity checks, to ensure the supplied email domain is in the correct format. This PR resolves issue https://github.com/cisagov/tpt-reports/issues/36
π§ͺ Testing
Testing on usage arguments, with valid and invalid email formatted string for DOMAIN_TESTED argument.
β Pre-approval checklist
β Pre-merge checklist
β Post-merge checklist