wood burning stoves 2.0*
The moose likes Other Open Source Projects and the fly likes JUnit use with VAJ Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "JUnit use with VAJ" Watch "JUnit use with VAJ" New topic
Author

JUnit use with VAJ

Matthew X. Brown
Ranch Hand

Joined: Nov 08, 2000
Posts: 165
I installed Junit as a project under VAJ-there are some instructions on installing it under VAJ. Has anyone been able to develop anything to test EJB and servlets using JUnit on VAJ?
Thanks in advance.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60785
    
  65

OK, I'll bite... what is VAJ?
bear


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Thomas Paul
mister krabs
Ranch Hand

Joined: May 05, 2000
Posts: 13974
Originally posted by Bear Bibeault:
OK, I'll bite... what is VAJ?
bear

Visual Age for Java. IBM's IDE for Java.


Associate Instructor - Hofstra University
Amazon Top 750 reviewer - Blog - Unresolved References - Book Review Blog
Doug Wang
Ranch Hand

Joined: Oct 05, 2001
Posts: 445
Here on the IBM site is a cool article which will be helpful for using JUnit with VisualAge Java:
Techniques for Implementing Tests using JUnit with VisualAge for Java .


Creativity is allowing yourself to make mistakes. Art is knowing which ones to keep
Matt Bucknam
Greenhorn

Joined: Dec 08, 2000
Posts: 23
This doesn't answer your question but have you used the EJB test client feature in Visual Age? It allows you to fully exercise the interface to your EJB, set input variables, and walk through the behavior.
Daku
Greenhorn

Joined: Jan 17, 2002
Posts: 2
IBM article does not talk about using JUnit with EJBs/Servlets. It just tells about how to use Junit with Pure Java Classes.
pjoisha
Ranch Hand

Joined: Mar 06, 2001
Posts: 123
Can I use JUnit with WebSphere Studio Application
Developer (WSAD). Is there an article describing
the process.
Thanks,
PJ
Doug Wang
Ranch Hand

Joined: Oct 05, 2001
Posts: 445
Prashanth,
Definitely you can use JUnit with WSAD, moreover, you need not pay extra effort for that. For WSAD is based on Eclipse, a open source IDE, and JUnit has been built into Eclipse(along with other features such as Ant, refactoring making Eclipse and WSAD good XP IDEs).
Ram Dhan Yadav K
Ranch Hand

Joined: Aug 13, 2001
Posts: 321
Hi,
I have been going through Cactus doc and found "Cactus is a simple test framework for unit testing server-side java code (Servlets, EJBs, Tag Libs, Filters, ...). "
SO, can its functionality be used along with VAJ?


Ram Dhan Yadav (SCJP, SCWCD, SCJA-I, IBM EC(483))
"We are what we repeatedly do. Excellence, then, is not an act, but a habit."
Junilu Lacar
Bartender

Joined: Feb 26, 2001
Posts: 4446
    
    5

"Daku"
Only properly registered participants will qualify for the book giveaway. Please take a moment to review the
JavaRanch Naming Policy then edit your profile and change your display name to comply with the rules.
Thanks for your cooperation and welcome to JavaRanch!
Junilu Lacar
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: JUnit use with VAJ
 
Similar Threads
Testing tools
Is this forum name appropriate
Can't we access EJB's deployed on WebSphere from a non IBM JVM client?
Tools for testing static methods
Tools for testing static methods