Chapter 10: Getting Business Central Standard Tests Working on Your Code

By now, you know how to write your automated tests and have integrated them in your daily development practice. How can you profit from this humongous collateral of tests Microsoft has provided? This chapter discusses why you might want to add them to your own collateral, what hurdles you must take, and how. So, in this chapter we'll discuss:

  • Why use the standard tests?
  • Executing standard tests against your code
  • Fixing failing standard tests
  • Disabling failing tests
  • It's all about data
  • Is it all really about data?

Technical requirements

Like in the previous chapter, we will refer to the LookupValue extension. Its code is to be found on GitHub: https://github.com/PacktPublishing/Automated-Testing-in-Microsoft-Dynamics-365-Business-Central-Second-Edition ...

Get Automated Testing in Microsoft Dynamics 365 Business Central - Second Edition 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.