Book Image

Mastering Microsoft Dynamics NAV 2016

By : Rabindra Sah
Book Image

Mastering Microsoft Dynamics NAV 2016

By: Rabindra Sah

Overview of this book

The book begins by giving you a brief introduction to setting up your NAV environment and shows you how to install and configure it according to your requirements. You will then dive deep into the latest design patterns, network architecture, and topologies. We will show you how you can integrate NAV with the Microsoft platform, and secure your deployment by managing roles and permissions. Moving on, we will explain how to monitor and manage server instances using the Administration tool. We’ll discuss how you can take advantage of the expanded extensibility and connectivity capabilities for a tighter integration with the cloud as well as handheld devices. Then, we’ll show you how you can make use of the PowerBI capabilities that have been built into Dynamics NAV. By the end of the book, you will be confident in developing and administering a Dynamics NAV implementation that will leverage all of the new features.
Table of Contents (19 chapters)
Mastering Microsoft Dynamics NAV 2016
Credits
About the Author
About the Reviewer
www.PacktPub.com
Customer Feedback
Preface

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

At the...