Book Image

Microsoft Dynamics 365 Business Central Cookbook

By : Michael Glue
Book Image

Microsoft Dynamics 365 Business Central Cookbook

By: Michael Glue

Overview of this book

Microsoft Dynamics 365 Business Central is a complete business management solution that can help you streamline business processes, connect individual departments in your company, and enhance customer interactions. Ok. That first part was really professional sounding, right? Now, let’s get into what this cookbook is going to do for you: put simply, it’s going to help you get things done. This book will help you get to grips with the latest development features and tools for building applications using Business Central. You’ll find recipes that will guide you in developing and testing applications that can be deployed to the cloud or on-premises. For the old-schoolers out there, you’ll also learn how to take your existing Dynamics NAV customizations and move them to the new AL language platform. Also, if you haven’t figured it out already, we’re going to be using very normal language throughout the book to keep things light. After all, developing applications is fun, so why not have fun learning as well!
Table of Contents (11 chapters)

Creating a test library

Once you get the hang of writing tests, you're going to want to write a lot of tests, so that you can maximize the test coverage of your application.

When you write a lot of tests, you'll probably notice quickly that you are creating the same data over and over. It's very important for a test to create the data that it needs for the test, or else you run the risk of having too much reliance on the environment that the test is run in.

The best way to tackle this is to make use of test libraries, which allow you to consolidate the common functions used across your tests and create a set of standardized functions so that all of your tests follow the same process flow.

This recipe will show you how to create and make use of a test library.

Getting...