junit and testng are testing tools if you use them to test little bits of code thats a unit test
if you use it to test the function of something e.g. via selenium then its a functional test I test everything easymock + testng + hsqldb + hibernate + jsf +selenium == testing from db to view On Thursday 23 August 2007 16:49, noon wrote: > 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. -- Michael McCallum Enterprise Engineer mailto:[EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
