4 uk
21-22 March, 2024

Days of Knowledge UK 2024

Days of Knowledge is a Directions for Partners event focused on educating consultants and developers, sharing knowledge and upgrading Business Central professionals to enable quality customer solutions. Training and acquiring knowledge are the magic words at Days of Knowledge.


Advanced testing techniques: test doubles

10:25 - 11:55 Screen 9 Back to event schedule

Testing the AL code is a tedious task that barely anyone enjoys. We've learned how to write integration tests, but writing them often takes a lot of time and effor, and they take a lot of time to execute. This session shows the importance of unit tests, explains why they are relevant and why it's important to have a suite of simple, fast-performing, and accurate unit tests as the first-level defense against bugs and regression. Then it focuses on test doubles, how to take advantage of them to make testing a breeze. It unravels the mystery behind test doubles: what are they, what kinds of them are there, and when to use each of them for maximum testing efficiency. This session is not just theory; it's full of practical examples. You'll learn how to write AL code that leverages test doubles effectively, tackling dependencies head-on, particularly when it comes to using the base app and system app functionality. It also tackles the big question: can we trust test doubles? Join this 90-minute deep dive to explore this important testability topic, to learn how to write robust, meaningful tests, and to boost your testing in AL!


Vjekoslav Babic

Solutions Architect | MVP

Vjekoslav Babić, or just Vjeko as he prefers to go by in the community in a vain attempt to simplify his absurd Slavic name, is a Business Central architect, developer, trainer, author and blogger. With more than two decades of experience in the IT, he worked with vast range of technologies, but his passion has always been anything that had to do with the web and mobile worlds. Deep down, Vjeko is an incurable hacker who took quite a long time to realize that the one thing he really loves is writing code, plain and simple. He immensely enjoys breaking things apart to see how they work, not necessarily always putting them back together. As a frequent speaker at conferences, in his demos, and on his blog, he is always pushing the boundaries of what's possible, connecting the world of Business Central with just about anything that can be plugged into it through some obscure loophole or undocumented interface, especially if they are not meant to be used that way. In Vjeko's view, nothing is really meant to be used in any particular way and figuring out how to make things useful beyond their intended purpose is the meaning of life, in a way. Since spring 2010, Vjeko has been awarded the Most Valuable Professional (MVP) award for Microsoft Dynamics NAV. You can meet him at his blog "Vjeko.com - ideas in the cloud".