wood burning stoves 2.0*
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 Murach's Java Servlets and JSP this week in the Servlets 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
internet detective
Marshal

Joined: May 26, 2003
Posts: 30050
    
149

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
 
Similar Threads
Connection Pooling
doubt in creating connections..
java.sql.SQLException: Io exception: The Network Adapter could not establish the connection
java stored procedure problems
Java won't send SQL query