Abstract
Data Driven Unit Testing with ArcObjects and Spatial Data
Track: Desktop Developer
Authors: Douglas Willets, Neil Clemmons, Lucas Green, Diego Negron
The Range Managers Tool Kit Surface Danger Zone (SDZ) Tool generates DoD live-fire range fans that identify where it is dangerous for personnel to be during live-fire events. Due to the physics of individual rounds and weapons there are over 30,000 possible geographic outputs where output errors could cause harm. Using data driven unit testing that includes Visual Studio tools and an input database of all the SDZs types, a framework was developed that automatically generates all possible permutations saved to a output geodatabase. The output geodatabase is automatically compared to an output database generated before code updates to identify if the updates changed the appropriate features while leaving all other features unaffected. Additionally, coverage statistics are generated to insure all code is executed. This presentation would benefit anybody who would like to have a better understanding on quality control methods for code that generates geographic features.