Chapter 4.  Testing and Debugging

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 ...

Get Mastering Microsoft Dynamics NAV 2016 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.