X++ Integration testing and performance consideration

MS provide the ATL framework for performing integration testing using X++ code and the SCM team is continuously releasing new ATL models for work that they are involved with. The ATL framework is a great tool but not that effective from a performance perspective.  

To achieve better performance when executing your test make sure to group the tests together in a test class based on the data setup that is required. Place as much of the joined data setup code in the setUpTestCase() method. That way the code will only execute the data setup once.

 


Comments

Popular posts from this blog

D365FO Data management change tracking enable/disable not working

Displaying a value from a array field in EP

Table array field iteration