This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line!
See this thread for details.
The moose likes Testing and the fly likes Junit test in Oracle Database function Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Engineering » Testing
Bookmark "Junit test in Oracle Database function" Watch "Junit test in Oracle Database function" New topic
Author

Junit test in Oracle Database function

raka oscr
Greenhorn

Joined: Mar 02, 2013
Posts: 25
Hi,




The above mentioned code is my java code to pass the parameters in pl/sql function. I need to test this function using Junit test. How can I test this dynamically using Junit test methodology. I am unaware of Junit test. Can anyone please guide me?

Thanks,
raka
Jeanne Boyarsky
author & internet detective
Marshal

Joined: May 26, 2003
Posts: 30789
    
157

I recommend getting a book like "Test Driven" that gives examples of how to use JUnit to test database code. For learning JUnit itself, you can use the online tutorials. Or you could start with the tutorials and test a simpler method first.


[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://aspose.com/file-tools
 
subject: Junit test in Oracle Database function