-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Feature Request: Add Unit Tests for Each Project
It would greatly enhance the quality and reliability of the projects in this repository if unit tests were implemented for each of the provided AWS Mini-Projects.
Suggested Improvements:
- 01-hello_world_sam: Add tests to verify API endpoint responses and status codes.
- 02-serverless-counter: Implement unit tests for the counter logic, ensuring that incrementing, resetting, and retrieval behave as expected.
- 03-encode-string: Create tests to validate the encoding functionality and check if the generated PNG images are formed correctly based on various input strings.
- 04-most-used-colors: Include tests for analyzing images and extracting colors to ensure the accuracy of the machine learning model.
Benefits:
- Improved code quality and confidence in functionality.
- Facilitation of future enhancements and refactoring.
- Better documentation of expected behaviors for each project.
I believe that adding unit tests will not only help you as a maintainer but also assist other developers and users in understanding and utilizing your projects more effectively.
Metadata
Metadata
Assignees
Labels
No labels