Summary

Completed

The AL Language and Business Central includes many features that will help you to test your application. There are special test codeunits that you can develop yourself to test your own code, but Microsoft also ships many standard tests to you can use to execute integration tests with your own extensions.

You learned which objects and methods you need to develop your own tests. You even have the possibility to test pages because there is support for User Interface handling. These tests can run automatically without user interaction. The test will mimic user actions and can interact with the pages.

The Test Toolkit for Business Central is delivered as separate applications that you need to install before you can work with your own tests. The NavContainerHelper already provides options to install the Test Toolkit with a simple command. You learned how to reference these apps and how to create your own project setup with a testing application.

Use the ATDD design pattern when you create your tests. This pattern is also used by Microsoft for testing.