Update Tests to Increase Code Coverage and Add Notifications for Tasks
Description
This pull request focuses on enhancing the test suite to increase code coverage, particularly for the Home Screen, and introduces the addition of notifications for upcoming tasks. The goal is to ensure more robust testing coverage across the application and to improve user engagement by notifying them of pending tasks that require attention.
Motivations:
Increased Test Coverage: Previous iterations of our test suite left significant portions of our codebase, especially the Home Screen, without adequate testing. By increasing coverage, we aim to reduce the likelihood of bugs and improve the maintainability of our code.
Enhanced User Engagement: Notifications serve as a direct line of communication with our users, reminding them of their tasks. Implementing this feature is expected to enhance user satisfaction and retention.
Dependencies:
For notifications, we're leveraging expo-notifications, which has been added to our project dependencies. Ensure that you have the latest version of Expo CLI installed to manage these new dependencies effectively.
Tests
Home Screen Tests: Added new test cases to cover previously untested logic and components. This includes rendering tests, interaction tests (e.g., button presses), and state management tests within the Home Screen.
Notification Tests: Implemented tests to verify that notifications are scheduled correctly when a task's conditions are met. This includes testing the notification content, scheduling logic, and integration with the device's notification system.
UI Changes
Minor adjustments were made to the Home Screen to accommodate the integration of task notifications. These changes are primarily functional and do not significantly alter the existing UI/UX.
A new notification icon and related UI elements have been added to signal to the user when a new task notification is pending.
Issues
187 #188
Additional Notes
Testing on Devices: While the notification feature has been tested in a development environment, additional testing on physical devices across different platforms (iOS and Android) is recommended to ensure compatibility and user experience.
Future Enhancements: Based on user feedback, we may consider adding customizable notification settings, allowing users to specify how and when they wish to be notified about tasks.
Update Tests to Increase Code Coverage and Add Notifications for Tasks
Description
This pull request focuses on enhancing the test suite to increase code coverage, particularly for the Home Screen, and introduces the addition of notifications for upcoming tasks. The goal is to ensure more robust testing coverage across the application and to improve user engagement by notifying them of pending tasks that require attention.
Motivations:
Dependencies:
expo-notifications
, which has been added to our project dependencies. Ensure that you have the latest version of Expo CLI installed to manage these new dependencies effectively.Tests
UI Changes
Issues
187 #188
Additional Notes