Learn how to write automated tests for Dynamics 365 Business Central and discover how you can implement them in your daily work
Key Features
• Leverage automated testing to advance over traditional manual testing methods
• Write, design, and implement automated tests
• Explore various testing frameworks and tools compatible with Microsoft Dynamics 365 Business Central
Book Description
Dynamics 365 Business Central is a cloud-based SaaS ERP proposition from Microsoft. With development practices becoming more formal, implementing changes or new features is not as simple as it used to be back when Dynamics 365 Business Central was called Navigator, Navision Financials, or Microsoft Business Solutions-Navision, and the call for test automation is increasing.
This book will show you how to leverage the testing tools available in Dynamics 365 Business Central to perform automated testing. Starting with a quick introduction to automated testing and test-driven development (TDD), you'll get an overview of test automation in Dynamics 365 Business Central. You'll then learn how to design and build automated tests and explore methods to progress from requirements to application and testing code. Next, you'll find out how you can incorporate your own as well as Microsoft tests into your development practice. With the addition of three new chapters, this second edition covers in detail how to construct complex scenarios, write testable code, and test processes with incoming and outgoing calls.
By the end of this book, you'll be able to write your own automated tests for Microsoft Business Central.
What you will learn
• Understand the why and when of automated testing
• Discover how test-driven development can help to improve automated testing
• Explore the six pillars of the Testability Framework of Business Central
• Design and write automated tests for Business Central
• Make use of standard automated tests and their helper libraries
• Understand the challenges in testing features that interact with the external world
• Integrate automated tests into your development practice
Who this book is for
This book is for consultants, testers, developers, and development managers working with Microsoft Dynamics 365 Business Central. Functional as well as technical development teams will find this book on automated testing techniques useful.
Table of Contents
1. Introduction to Automated Testing
2. Test Automation and Test-Driven Development
3. The Testability Framework
4. The Test Tool, Standard Tests, and Standard Test Libraries
5. Test Plan and Test Design
6. From Customer Wish to Test Automation – the Basics
7. From Customer Wish to Test Automation – Next Level
8. From Customer Wish to Test Automation – the TDD way
9. How to integrate Test Automation in Daily Development Practice
10. Getting Business Central Standard Tests Working on Your Code
11. How to Construct Complex Scenarios
12. Writing Testable Code
13. Testing Incoming and Outgoing Calls
14. Getting up and running with Business Central, VS Code, and the GitHub project