The maintenance process
Every time you change code, you introduce risk. For example, a bug fix could introduce a new bug. To mitigate this risk, we need to follow a process. A suggested process could be the following steps:
- Identify: Identify the problem or the change that needs to be made.
- Inspect: Inspect the test coverage and how well your code is covered by tests. The better it’s covered, the more likely you are to detect any introduced bugs or other issues.
- Plan: Plan the change. How are you going to make it? What tests are you going to write? What tests are you going to run?
- Implement: Implement the change.
- Verify: Verify that the change works as expected. Run the tests, run the application, check the logs, etc.
- Integrate: This is about ensuring any change you make in a branch is merged into the main branch.
- Release/deploy the change: You want to make sure the end customer can leverage the benefit of this change. For that...