• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Using JUNIT for project using JSF+SPRING+HIBERNATE

 
Ingoba Ningthoujam
Ranch Hand
Posts: 90
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi I am using JSF, SPRING and HIBERANTE in my current project. So, can anyone tell me the rough idea about using JUNIT in this combination. I know how to use JUNIT in Struts.

Thanks in advance.
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 34863
369
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ingoba,
JUnit can be used with those technologies. Take it a lower level one class at a time. For example with Hibernate: do you want to write a unit or integration test? For what kind of class? What do you want to know about it?
 
Ingoba Ningthoujam
Ranch Hand
Posts: 90
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Jeanne. Actually I want write the unit as well as integration testing. Is it possible to run all the unit test classes as a whole at one time?
Please clarify in detail.

Thanks in advance.
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 34863
369
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Ingoba Ningthoujam:
Is it possible to run all the unit test classes as a whole at one time?

Yes, you can run an existing test suite containing many unit tests in one shot. When writing them, you still need to think about them one at a time though.
 
Ingoba Ningthoujam
Ranch Hand
Posts: 90
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you very much once again.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic