Unit testing in AX – Dependencies

In my previous post on unit testing, I explained how to handle a few simple situations, nevertheless things often get more complicated. One such complication occurs if the class that you want to test uses other objects. It may be a problem for several reasons – it’s code that we don’t want to test in …

Continue reading ‘Unit testing in AX – Dependencies’ »

Unit testing in AX – Basics

In the previous post, I talked about what unit testing is and how such tests should be designed. Let’s jump straight into X++ code this time. Unit tests are methods and we need a class to hold them. Such a container of test methods is called a test case and it’s simply a class extending …

Continue reading ‘Unit testing in AX – Basics’ »

Automated UI testing

This post is based on my replay in Dynamics Community forum, therefore if you read it there, you can safely move on. When I hear “automated testing” in Dynamics AX world, people almost always mean replicating what a human tester does – opening a form, clicking around and so on. It makes some sense, because …

Continue reading ‘Automated UI testing’ »