ODL JUnit testing with ProviderContext

asked 2015-06-17 16:16:44 -0700

labry gravatar image

updated 2015-06-18 10:50:01 -0700

Hi,

Recently, the wiki talked about using JUnit to build and test MD-SAL apps quickly. https://wiki.opendaylight.org/view/BuildTimeTestingwithJUnit

I'm really exited about it since I thought the build time for ODL was too long. However, I want to test my MD-SAL functions along with the logic itself. MD-SAL functions mean adding Rpcs and inserting data to DataBroker and so on. But is there a way to mock ProvderContext to quickly test MD-SAL functions along with my logic??

Thanks

edit retag flag offensive close merge delete