Information Technology Reference
In-Depth Information
• Rebuild the database and data from your build script, by drop-
ping and recreating your database and tables. Next, apply the
stored procedures and triggers, and finally, insert the test data.
Test (and inspect) your database . Typically, you will use the
component tests to test the database and data. In some cases,
you'll need to write database-specific tests.
We go much deeper into this topic and discuss scenarios and solu-
tions in Chapter 5.
Scenario: The Missing Click
Deploying your software manually wastes time and effort. On one
project, we manually deployed the software as needed using the appli-
cation server's Web administration utility. This was supposed to occur
once a day, but because the team was typically sidetracked with other
issues, this created bottlenecks when we needed the latest integrated
build. This repetitive, mundane process took 10-15 minutes to com-
plete every day—if all went well. The problem was that we were
spending time on something that should have been automatic: deploy-
ment to the test machine. In addition, it was easy to cause problems if
we didn't click the right buttons on the administration tool.
Here is an example of a typical problem resulting from a manual
deployment approach.
Rachel (Developer): Is the latest build updated to the development
server? Where is John?
Kelly (Developer): Oh, John is at lunch. He's supposed to have posted
the update to the server.
Rachel: Well, I'll just wait for John to get back.
Later, John arrives…
Rachel: John, what happened with the latest build? It looks like the
JSPs weren't precompiled, so we're receiving runtime errors now.
John (Technical Lead): Oops, sorry about that. I must have forgotten
to select that option when I deployed with the Web tool yesterday.
Search WWH ::




Custom Search