Wednesday, September 12, 2007
Unit Testing Framework in Dynamics AX
One of the impressive features of Dynamics AX is its built-in Unit Testing framework. You create classes using a specific naming convention so that they are runnable on the framework. In these classes, unit tests are written as individual methods. Each test case (or method - whatever you may call it) can include a number of tests in the form of assertions. Moreover, test cases can be contained within test suite classes or as part of a project in MorphX. Testing can be done from the Unit Test toolbar from which individual test cases, test suites, or test projects can be executed.
Test results can be viewed from the Unit Test toolbar that indicates the test passed or failed state, per case and test, and can even include code coverage measures for the classes and methods that are tested.
Nifty eh ?
Test results can be viewed from the Unit Test toolbar that indicates the test passed or failed state, per case and test, and can even include code coverage measures for the classes and methods that are tested.
Nifty eh ?
Post a Comment