As others have said recently, test often and set a standard for how testing is done. It's always much easier to test small pieces by themselves first, before it's integrated with other components. of course development being what it is, testing isn't always the highest priority for management.
the burden is really left up to the developer. Not all managers like to hear it will take 1 week to write a simple component. Assuming the management is not adverse to formal testing and deployment procedures, I find testing classes as it is done to be useful. Now obviously this approach has flaws if some one decides they want to put everything in one class that's 3k lines long. Don't laugh, I've seen this happen in numerous occasions. as far deployment, 3 of my last 4 jobs were persuaded to setup a formal deployment plan in writing. this doesn't mean we actually follow, but it does help. In terms of the actual process of deploying tomcat, I prefer precompiling the jsp's on a staging machine, running a regression test on that box in some automated fashion, then once it's passed, copy just the compiled classes to production machines. then once the updated files are on one machine, perform yet another automated verification test. if that passes, replicate to all production machines. peter --- John Ruffin <[EMAIL PROTECTED]> wrote: > I running tc4.1.18, sdk1.4.0_01, struts1.1.b2 on a > w2k machine. TC runs as > an NT service. > > I created a basic myHello project - just an app with > 2 jsps. Used Ant to > build and deploy the app but I can't see the changes > unless I go through > this crazy process of: > (step1) removing the app using Manager > (step2) stopping the "NT service" - Apache Tomcat4.1 > > (step3) deleting the app folder under > catalina_home\webapps > (step3) deleting the appName.war file > (step4) starting the NT service - Apache Tomcat4.1 > (step5) building the app using Ant - which of course > redeploys the app > > <Did I mention it was crazy?> > > Question: What are some best practices for testing > applications? > > I feel like I'm reinventing the wheel - there must > be an easier way. > > BTW, if I make changes to a jsp inside the container > I can see the changes - > but of course I don't want to do that. > > Thanks for your feedback. > > > > ************************************************************ > The information in this email is confidential and > may be > legally privileged. It is intended solely for the > addressee, > and access by anyone else is unauthorized. > > If you are not the intended recipient, any > disclosure, > copying, distribution or any action taken or omitted > to be > taken in reliance on it, is prohibited and may be > unlawful. > > If you believe that you have received this email in > error, > please advise us by calling (901) 385 3688, or > emailing > [EMAIL PROTECTED], and then delete this > message > and all copies and backups thereof. Thank you. > ************************************************************ > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: > [EMAIL PROTECTED] > For additional commands, e-mail: > [EMAIL PROTECTED] > __________________________________________________ Do you Yahoo!? Yahoo! Shopping - Send Flowers for Valentine's Day http://shopping.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
