• Post Reply Bookmark Topic Watch Topic
  • New Topic

How to use JUnit test case in JSF based application?  RSS feed

 
Raghu Sha
Ranch Hand
Posts: 124
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I am using JSF, eclipse link and run in Galssfish server.
While running application, data source details are fetched from Glassfish server which is configured in persistence.xml.

How to fetch the same while running junit? (Server wont required to run junit)

Please send the code samples.

Thanks
 
Tim Holloway
Bartender
Posts: 18531
61
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm not quite sure what you are asking. I use dbUnit for my persistence-related junit testing in JSF apps.

 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!