my dog learned polymorphism*
The moose likes Agile and Other Processes and the fly likes Testing process Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Engineering » Agile and Other Processes
Bookmark "Testing process" Watch "Testing process" New topic
Author

Testing process

Desai Sandeep
Ranch Hand

Joined: Apr 02, 2001
Posts: 1157
Hi,
I suppose this is one of the subjects which is not covered much during our discussions at Javaranch.Is there a Framework which provides writing and running automated tests?
Thanks in advance,
Sandeep


<b>Sandeep</b> <br /> <br /><b>Sun Certified Programmer for Java 2 Platform</b><br /> <br /><b>Oracle Certified Solution Developer - JDeveloper</b><br /><b>-- Oracle JDeveloper Rel. 3.0 - Develop Database Applications with Java </b><br /><b>-- Object-Oriented Analysis and Design with UML</b><br /> <br /><b>Oracle Certified Enterprise Developer - Oracle Internet Platform</b><br /><b>-- Enterprise Connectivity with J2EE </b><br /><b>-- Enterprise Development on the Oracle Internet Platform </b>
ersin eser
Ranch Hand

Joined: Feb 22, 2001
Posts: 1072
www.junit.org
www.parasoft.com/products/jtest
Desai Sandeep
Ranch Hand

Joined: Apr 02, 2001
Posts: 1157
Thank you, Ersin
Will get back to you with specific questions I have on this subject.
Regards,
Sandeep
Kyle Brown
author
Ranch Hand

Joined: Aug 10, 2001
Posts: 3892
    
    5
I strongly suggest you look at JUnit. It's very well supported by the Extreme Programming (XP) community and it has a ton of additional tools for it. It's also very well documented in gazillions of articles and books (like Martin Fowler's "Refactoring").
However, I just want to let you know I REALLY like it. I've been using it since just a few weeks after Kent and Erich first wrote it and I LOVE it.
Kyle
------------------
Kyle Brown,
Author of Enterprise Java (tm) Programming with IBM Websphere
See my homepage at http://members.aol.com/kgb1001001 for other WebSphere information.


Kyle Brown, Author of Persistence in the Enterprise and Enterprise Java Programming with IBM Websphere, 2nd Edition
See my homepage at http://www.kyle-brown.com/ for other WebSphere information.
Paul Newton
Ranch Hand

Joined: Jul 17, 2001
Posts: 67
I would echo Kyle's endorsement. JUnit has everything I like in a tool: painfully simple but so powerful. I would not embark on a software project without xUnit.
regards,
paul.
Mark Herschberg
Sheriff

Joined: Dec 04, 2000
Posts: 6037
As much as a like JUnit, be sure you understand that it is just for unit testing. It is not well suited to web testing, load testing, GUI testing, client/server testing, etc.
JTest is very similar, but commercial. I like JTest in principle, but hate the UI. JTest has the same limitations as the ones named for JUnit, above.

--Mark
Paul Newton
Ranch Hand

Joined: Jul 17, 2001
Posts: 67
Good point Mark. Unit testing is just one part of the ugly testing game.
For simple performance testing and stress tests, you could take a look at the Apache JMeter tool. Pretty simple and still very buggy, but useful for some simple load simulations. I use it for simulating concurrent users for web applications. Could be an interesting tool for the future.
regards,
paul.
Junilu Lacar
Bartender

Joined: Feb 26, 2001
Posts: 4442
    
    5

True, JUnit is mainly for unit testing. However, there are other frameworks out there that are extensions of JUnit that are targetted for client/server, server-side, http, etc. unit testing. The Jakarta Cactus project is a JUnit-based test framework for the server-side and IIRC, the unit tests for the Struts framework are written for use with Cactus. There is also HttpUnit, which is for the web client side testing. I haven't used them myself yet but hope to RSN.
Junilu


Junilu - [How to Ask Questions] [How to Answer Questions]
 
 
subject: Testing process
 
Similar Threads
Websphere docs
Parking the car....
Jboss Experts - Bangalore
how can i insert a null value in a table
Ant Build Successful but neither jar file nor build folder created ?