Skip to content

Maintenance: write end-to-end tests for the utility #1039

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

Closed
dreamorosi opened this issue Aug 4, 2022 · 2 comments · Fixed by #1318
Closed

Maintenance: write end-to-end tests for the utility #1039

dreamorosi opened this issue Aug 4, 2022 · 2 comments · Fixed by #1318
Assignees
Labels
completed This item is complete and has been merged/shipped parameters This item relates to the Parameters Utility tests PRs that add or change tests

Comments

@dreamorosi
Copy link
Contributor

dreamorosi commented Aug 4, 2022

Description of the feature request

### Tasks
- [ ] #1240
- [ ] #1241
- [ ] #1242
- [ ] #1243

Problem statement
Before a Powertools utility can be considered production ready it needs to have e2e tests implemented and running every time a new feature or release is added.

Summary of the feature
This action item tracks the activities and changes needed to integrate the new utility in the e2e tests, which high level and at the time of writing consist of:

  • Write the unit tests cases and corresponding functions
  • Optionally implement any helper needed
  • Add the new utility in the workflow that runs the tests

Code examples
N/A

Benefits for you and the wider AWS community
Confidence that the utility has been tested in a real AWS Lambda execution environment.

Describe alternatives you've considered
N/A

Additional context
All utilities have extensive end to end test cases that aim at testing the different features and usages in a real AWS environment with real resources, permissions, and runtimes.

Related issues, RFCs

#846

@dreamorosi dreamorosi added triage This item has not been triaged by a maintainer, please wait parameters This item relates to the Parameters Utility labels Aug 4, 2022
@dreamorosi dreamorosi added this to the Parameters milestone Aug 4, 2022
@dreamorosi dreamorosi added on-hold This item is on-hold and will be revisited in the future and removed triage This item has not been triaged by a maintainer, please wait labels Nov 13, 2022
@dreamorosi dreamorosi moved this from On hold to Backlog in AWS Lambda Powertools for TypeScript Nov 13, 2022
@dreamorosi dreamorosi added the tests PRs that add or change tests label Nov 13, 2022
@dreamorosi dreamorosi changed the title Feature (parameters): write end-to-end tests for the utility Maintenance: write end-to-end tests for the utility Nov 14, 2022
@dreamorosi dreamorosi added confirmed The scope is clear, ready for implementation and removed on-hold This item is on-hold and will be revisited in the future labels Jan 6, 2023
@dreamorosi dreamorosi self-assigned this Jan 10, 2023
@dreamorosi dreamorosi moved this from Backlog to Working on it in AWS Lambda Powertools for TypeScript Jan 10, 2023
@dreamorosi
Copy link
Contributor Author

dreamorosi commented Feb 14, 2023

Once the linked issues are complete, modify the package.json of the utility so that the test:e2e script starts the tests.

@dreamorosi dreamorosi moved this from Working on it to Pending review in AWS Lambda Powertools for TypeScript Feb 21, 2023
@dreamorosi dreamorosi added completed This item is complete and has been merged/shipped and removed confirmed The scope is clear, ready for implementation labels Feb 21, 2023
@dreamorosi dreamorosi moved this from Pending review to Working on it in AWS Lambda Powertools for TypeScript Feb 21, 2023
@dreamorosi dreamorosi linked a pull request Feb 21, 2023 that will close this issue
13 tasks
@dreamorosi dreamorosi moved this from Working on it to Shipped in AWS Lambda Powertools for TypeScript Feb 21, 2023
@github-project-automation github-project-automation bot moved this from Shipped to Coming soon in AWS Lambda Powertools for TypeScript Feb 21, 2023
@github-actions
Copy link
Contributor

⚠️ COMMENT VISIBILITY WARNING ⚠️

Comments on closed issues are hard for our team to see.
If you need more assistance, please either tag a team member or open a new issue that references this one.
If you wish to keep having a conversation with other community members under this issue feel free to do so.

@dreamorosi dreamorosi moved this from Coming soon to Shipped in AWS Lambda Powertools for TypeScript Feb 21, 2023
@github-actions github-actions bot added the pending-release This item has been merged and will be released soon label Feb 21, 2023
@dreamorosi dreamorosi removed the pending-release This item has been merged and will be released soon label Feb 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
completed This item is complete and has been merged/shipped parameters This item relates to the Parameters Utility tests PRs that add or change tests
Projects
None yet
1 participant