cancel
Showing results for 
Search instead for 
Did you mean: 

Mocking Unity API in automated Unit/Integration tests

Kevin_Kindt
Champ in-the-making
Champ in-the-making

We have a web service that pulls documents from OnBase via the Unity API. I'm trying to write automated unit tests and integration tests for the repository code that calls Unity. They have to run in an environment disconnected from our actual OnBase installation. Are there any OnBase utilities to allow for this or any other methods people have used to simulate OnBase for testing purposes?

1 REPLY 1

Casey_Balza
Champ on-the-rise
Champ on-the-rise

I created my own wrapper and use dependency injection for my unit tests.

Getting started

Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.