So let's just see the process for fixing a bug and deploying the fix to production. That will go through the entire process.
Step 1: Observe the bug happening
The bug I'm talking about is the canned graphs problem. Certain types of graphs showed this result:
The Undesirable Result |
The bug report: You can see it's "fixed," that's because this is a current screenshot. |
In general I try to trap every bug with a unit or integration test. This particular bug had a good 'integration' test case for it, but I also wrote a UI test with Selenium
You can see that I'm exciting about Selenium because I used the phrase "real live selenium ui test."
Step 3: Bug fix
The build jobs that run during merges |
Step 4: Deploying to production
Jobs running for Production |
Now the fix is ready to deploy, so we can run the "Production Deploy" job. This will upload our WAR file to the live server which tomcat will automatically redeploy. After running "Production Status" to confirm the website is still running, we can visit it to confirm it's working.
Well, that's pretty much it! The process is more exciting for new feature additions, but it's basically the same process. Check back in a year to see how the process changes....
No comments:
Post a Comment