- Building Enterprise JavaScript Applications
- Daniel Li
- 154字
- 2021-07-23 16:31:18
Maintenance
Inevitably, all applications, no matter how well tested, will have bugs and areas of improvement. An essential part of any workflow is to allow users to report bugs, raise issues, and ask questions. As an extension to this, we also need a system to triage these issues, prioritizing them based on the following:
- Impact: How many users are impacted? How important are these users?
- Ease: How easy is it to fix?
- Urgency: How time-sensitive is this issue?
This can be done through platforms such as GitHub's issue trackers, Atlassian's JIRA, or similar software.
When a bug is reported, it should be reproduced and confirmed. Once confirmed, test cases that cover that scenario should be written to prevent regression in the future. For example, if the bug is that the age field is returned as a float, a test case should be written to test that the age field is always a positive integer.