I think the webapp doesn't prohibit to use the unit tests in any matter. Unit tests are just unit tests which purpose is to test a single method in a class. Unit tests shouldn't be depended on any other external tools like web server or database. If you like to to test the DAO layer, you can use e.g. the HSQL inmemory database as a datasource.
Then there are other tools which "acts" like Http Server which allows you to test the controller (web layer) and JSP pages. Personally I don't test the controller layer atall... yet. I might start testing the jsp pages but for now I'm focusing on writing unit tests on the manager (business) level. -- View this message in context: http://www.nabble.com/Junit-testing-of-webapps-in-maven-tf4314531s177.html#a12287522 Sent from the Maven - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
