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

Execute and access code restricted internals as a partner or customer

Expressions in query ranges

Removing duplicate records