Get in touch

AX Client - Run unit tests

Runs unit tests of an AX 2009/2012 environment

TopicWork with AX client (AX 2009/2012)
CategoryTest
Special featuresConverts the SysTestListenerXML result to an uploadable test result (JUnit format)
Microsoft documentationhttps://msdn.microsoft.com/en-us/library/bb410465.aspx

Parameters

ParameterTypeRequiredDefaultExample
Client config file path (.axc)The file path of the client configuration file.File pathTrue—$/Microsoft Dynamics AX (Test)/Client.axc
JUnit destination file path (*.xml)The file path to save the JUnit results to.File pathTrue—$/Microsoft Dynamics AX (Test)/MyJUnitResult.xml
SysTestProject nameThe SysTestProject of AX to run.StringTrue—MySysTestProject
Max wait time (min)´The number of minutes to wait before failing the step.IntegerFalse—120

How to upload test results

You can use the "Publish Test Result" build step from Microsoft with Test Result Format "Junit" in your build definitions to upload the tests result to VSTS/TFS.