> -----Original Message----- > From: Meron Israel-(Srul) [mailto:[EMAIL PROTECTED] > Sent: 13 April 2004 13:53 > To: 'Cactus Users List' > Subject: RE: application server > > Hi, > > app is a java multi-threaded server. using a proprietry client-sever > protocol.
Ok. Then Cactus is not the right tool for you! :-) > I am now building a junit wrapper to attach to project for easy adding of > test for each developer. > (most of the server infra is allready developed) > The target is to have an automated unitesting frame for the app. > unit testing should include all 3 types (http://jakarta.apache.org/cactus/ > Different kinds of unit tests) > - Functional - test expected change in DB (oracle8i) , memory , request/ > response. > - Integration - Interactions with the container (server infrastructure), > Networking (tcp, udp), Memory manager. > > regarding the specific questions you raise: > - Do you want to perform unit testing? > yes > - Do you want to perform functional testing? > i am not sure what is the difference between 'functional testing' and > 'functional unit testing' . > - Do you want to test EJBs? > not specificaly now. > - Do you want to perform testing in isolation, using mock object? > if this means instead of running the App and DB then yes very much. > This is the main dificulty for me. how do I perform the metholody of > tests > without a 'live' server ? Here are some resources: - http://www.mockobjects.com - Google for: EasyMock, jMock - More "exotic" solutions: VirtualMock - There are lots of different papers on the subject of mock objects on the web. <advertisement>There's also, of course, the book I wrote, JUnit in Action, which covers mock objects in depth. However, it also covers a lot unit testing J2EE applications which is not your focus</advertisement> - archives of the junit yahoogroups mailing list I'd suggest you try with these and if you have a question you post it to the junit yahoogroups mailing list. Thanks -Vincent > > srul > > > -----Original Message----- > From: Vincent Massol [mailto:[EMAIL PROTECTED] > Sent: Tuesday, April 13, 2004 12:35 PM > To: 'Cactus Users List' > Subject: RE: application server > > > Hi, > > Tell us your need and we will be able to tell you if Cactus fits them or > not. A few questions to help: > > - Do you want to perform unit testing? > - Do you want to perform functional testing? > - Do you want to test EJBs? > - Do you want to perform testing in isolation, using mock object? > > -Vincent > > > -----Original Message----- > > From: Meron Israel-(Srul) [mailto:[EMAIL PROTECTED] > > Sent: 13 April 2004 10:36 > > To: [EMAIL PROTECTED] > > Subject: application server > > > > Hi All, > > > > I am new to junit and cactus. > > From all examples it seems cactus is suitable for web apps. not for > any > > java > > application server. > > is there any other similar framework ? > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > ______________________________________________________________________ > This email message has been scanned by PineApp Mail-Secure and has been > found clean. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
