
Mastering Microsoft Dynamics NAV 2016
By :

In the last chapter, we discussed the core programming concepts and related topics of Microsoft Dynamics NAV. We discussed how codes in Dynamics NAV get compiled into other code forms, and how we can sneak through the back door to understand the complex logic behind the simple look and form of the C/AL code. We also saw how VB programming has been integrated into the Dynamics NAV family to overcome the complexity of reporting.
In this chapter, we will focus solely on the testing part of C/AL codes. We will discuss the testing pattern implemented by Microsoft in its release of the 2016 NAV version. We will explain, in detail, how to write your own Test codeunits, and how to utilize automated testing, which is life-changing for consultants and developers. We will also see how the Visual Studio debugging technique can be utilized to debug the C/AL code, providing programmers of other programming languages with something familiar and a rich technique...