Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Mastering Microsoft Dynamics 365 Business Central

You're reading from   Mastering Microsoft Dynamics 365 Business Central Discover extension development best practices, build advanced ERP integrations, and use DevOps tools

Arrow left icon
Product type Paperback
Published in Dec 2019
Publisher Packt
ISBN-13 9781789951257
Length 770 pages
Edition 1st Edition
Concepts
Arrow right icon
Authors (2):
Arrow left icon
Duilio Tacconi Duilio Tacconi
Author Profile Icon Duilio Tacconi
Duilio Tacconi
Stefano Demiliani Stefano Demiliani
Author Profile Icon Stefano Demiliani
Stefano Demiliani
Arrow right icon
View More author details
Toc

Table of Contents (25) Chapters Close

Preface 1. Section 1: Dynamics 365 Business Central - Platform Overview and the Basics of Modern Development FREE CHAPTER
2. Microsoft Dynamics 365 Business Central Overview 3. Mastering a Modern Development Environment 4. Online and Container-Based Sandboxes 5. Section 2: Developing Extensions for Dynamics 365 Business Central
6. Extension Development Fundamentals 7. Developing a Customized Solution for Dynamics 365 Business Central 8. Advanced AL Development 9. Report Development with AL 10. Section 3: Debugging, Testing, and Release Management (DevOps)
11. Installing and Upgrading Extensions 12. Debugging 13. Automated Test Development with AL 14. Source Control Management and DevOps with Business Central 15. Section 4: Advanced Integrations with Dynamics 365 Business Central
16. Dynamics 365 Business Central APIs 17. Serverless Business Processes with Business Central and Azure 18. Monitoring, Scaling, and CI/CD with Azure Functions 19. Business Central and Integration with the Power Platform 20. Section 5: Moving Solutions to the New Extension Model
21. Integrating Machine Learning into Dynamics 365 Business Central 22. Moving Existing ISV Solutions to the New Extension Model 23. Useful and Proficient Tools for AL Developers 24. Other Books You May Enjoy

Designing our test scenarios

As we've already mentioned, we will illustrate four of the five pillars of testability in a test example:

  • Test codeunit and test function
  • asserterror
  • Test page
  • UI handlers

We need to have designed each scenario to enable us to code a test efficiently and effectively. This is what we will do first in the following section.

In his book, Luc shows extensively how to get from requirements to an automated test, or as he calls it From customer wish to test automation.

Test codeunit and test function – test example 1

As test codeunits and test functions are the basis of test coding in AL, we could take any scenario as an example. But let's keep it simple and start with the basic...

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 $19.99/month. Cancel anytime
Banner background image