Oracle Community Directory
Oracle Community FAQ
My Oracle Support Community (MOSC)
Go Directly To
Oracle Technology Network Community
My Oracle Support Community
OPN Cloud Connection
Oracle Employee Community
Oracle User Group Community
OTN Speaker Bureau
SOA - General Best Practices
Please enter a title.
You can not post a blank message. Please type your message and try again.
This discussion is archived
: Aug 9, 2011 4:35 PM by
Automatic Test Cases
Aug 9, 2011 6:42 AM
I have a composite web service that call Data adapter .My problem is that i want to use automatic test cases for the data Adapter
Data adapter perform insert operation in database custID (unique Id)
If I run test case once it works fine.
At a later stage is development i want to run the same test case again it gives me error as CustId already exist in data base.
I want to run test cases that does not perform commit operation to the database.
Kindly help is this regard.
Rizwan Ahmed Vohra
This content has been marked as final.
Show 1 reply
Re: Automatic Test Cases
Aug 9, 2011 4:35 PM
in response to
in the past I have used a wonderful tool called unitils, it includes also dbunit
there is a learning curve but the documentation is good
the idea is that each test should clean up the tables it uses before it is run
I have never tried NOT committing the data in the DB during the tests, I am not sure if it is a good practice.