December 2019
Beginner to intermediate
770 pages
16h 14m
English
Before we start coding tests, we need to learn a couple of things about the technique behind test code, the so-called testability framework.
Since NAV 2009 Service Pack 1, Microsoft has allowed the platform to let you build test suites by means of test functions in test codeunits. When executing a test codeunit, the platform will do the following:
This is what Luc van Vugt calls the first pillar of the testability framework. Our first test example will implement this.
The second pillar allows you to create so-called positive–negative, or rainy-path, tests, ...
Read now
Unlock full access