Search icon
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
.Automated Testing in Microsoft Dynamics 365 Business Central

You're reading from  .Automated Testing in Microsoft Dynamics 365 Business Central

Product type Book
Published in Apr 2019
Publisher Packt
ISBN-13 9781789804935
Pages 222 pages
Edition 1st Edition
Languages
Author (1):
Luc van Vugt Luc van Vugt
Profile icon Luc van Vugt

Table of Contents (17) Chapters

Preface Section 1: Automated Testing - A General Overview
Introduction to Automated Testing Section 2: Automated Testing in Microsoft Dynamics 365 Business Central
The Testability Framework The Test Tool and Standard Tests Section 3: Designing and Building Automated Tests for Microsoft Dynamics 365 Business Central
Test Design From Customer Wish to Test Automation - The Basics From Customer Wish to Test Automation - Next Level From Customer Wish to Test Automation - And Some More Section 4: Integrating Automated Tests in Your Daily Development Practice
How to Integrate Test Automation in Daily Development Practice Getting Business Central Standard Tests Working on Your Code Test-Driven Development Setting Up VS Code and Using the GitHub Project Other Books You May Enjoy

It's all about data

In my experience, getting the standard tests working on your code is mainly about getting the test fixture right. As in the previous exercise, fixing the first error on our list isn't a coincident. It's a plain example of what you will be doing in getting the standard tests run on your code: bring the test fixture in the right state. In this specific case, we fixed the fresh fixture. Solving the remaining errors is again about updating the test fixture. In those cases, it concerns the shared fixture.

Looking closer at the remaining failing tests, it seems that our first error did not completely vanish. Saving you the trouble of going through all of them, I have picked out the following three failing tests:

Apparently, our generic fix for the CreateCustomer helper method did not have any effect on these. Debugging each of them shows eventually...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime}