AnsweredAssumed Answered

Unit testing ArcGIS Runtime SDK for .NET

Question asked by kor_ on Feb 11, 2015
Latest reply on Nov 15, 2015 by fridjof

As far as I know, the current ArcGIS Runtime SDK for .NET cannot be unit tested because we simply cannot create new instances from the classes and thus cannot mock any return values from queries. The older ArcObjects library was easier to mock, because every class also had an interface assigned to it.

 

Currently this is a bit of a problem because we cannot create unit tests for ANY functionality that uses any of the ESRI's classes (or they become integration tests).

 

Is ESRI going to upgrade the SDK so that unit testing might be possible in the near future?

Outcomes