how do you use TDD for developing webservices using Oracle Service Bus

683 views Asked by At

Does anyone have any opinions on how TDD and UNIT testing would would when developing web services using Oracle Service Bus? All I can think of is stubbing out the back ends then running tests through the service bus, but that's really just integration testing. How would I apply TDD principles in this instance?

1

There are 1 answers

2
mez.pahlan On BEST ANSWER

Is your question actually how best to conduct unit tests on Oracle Service Bus components? I have the same issue but have come to the view that now your unit of code is not a Java method or a class but a whole proxy.

It does however limit you to being only able, at best, to conduct component integration testing as you have described: Stubbing out the other systems and running what you'd traditionally call Integration tests through the Service Bus.

Scale up your unit of work.

If there is a better way to automate and test these code artifacts then I want to hear about it.