This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
The moose likes Java in General and the fly likes What is the right way to unit-test a Java template class? Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Java in General
Reply Bookmark "What is the right way to unit-test a Java template class?" Watch "What is the right way to unit-test a Java template class?" New topic
Author

What is the right way to unit-test a Java template class?

ying lam
Ranch Hand

Joined: May 17, 2004
Posts: 85
Hi,

I need to write unit test for my Java template class.

what is the right way to do that?

Thank you.
Jeanne Boyarsky
internet detective
Marshal

Joined: May 26, 2003
Posts: 26193
    
  66

Ying,
What is in your class that you want to know whether it is working?


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: What is the right way to unit-test a Java template class?
 
Similar Threads
object creation doubt
JSP not getting results from Bean
Automated Testing Tools
A Interesting project for everyone who is interested.
what is a test case?