How to do unit testing in Microsoft Dynamics AX 2012 in a real world project
问题 Dynamics AX 2012 comes with unit testing support. To have meaningful tests some test data needs to be provided (stored in tables in the database). To get a reproducable outcome of the unit tests we need to have the same data stored in the tables every time the tests are run. Now the question is, how can we accomplish this? I learned that there is the possibility of setting the isolation level for the TestSuite to SysTestSuiteCompanyIsolateClass . This will create an empty company and delete