Unit Testing in Dynamics Ax
As I mentioned in my previous post, Dynamics AX has an integrated development environment and a specialized language called X++. Inspired by the usefulness of 'xUnit' based frameworks like JUnit and NUnit, the developers for Dynamics AX 4.0 (released in 2006) implemented a unit testing framework called SysTest in the AX development environment. With this framework, AX developers can easily write unit tests for their X++ implementations – even following a Test Driven Development (TDD) approach if desired.
The purpose of this post is to bring together some resources for learning more about SysTest. Here they are:
- Chapter 16 of Inside Dynamics AX 4.0
- Michael Fruergaard Pontoppidan's Channel 9 video – Unit Test Framework in Dynamics AX 4.0
- Unit Test Framework article at MDSN's Microsoft Dynamics AX Developer Center
More detailed information:
- David Pokluda's blog – David was one of the original creators of SysTest and he has a series of posts on the framework.
More on SysTest later…