Quantcast
Channel: Microsoft Dynamics AX Forum - Recent Threads
Viewing all articles
Browse latest Browse all 72043

Automated Testing AX: UserConnection and Deadlocks

$
0
0

Hello everybody,

we're doing extreme automated testing in AX here (Unit-Test and Process-Test), and I am on some issues regarding deadlocks using number sequences.

I tracked the issue down to the usage of the UserConnection class that is for example used to get new number sequences.

Does anyone have an idea how I can mock the UserConnection class so that is not using another connection? The tests need to run in one tts block because we need to abort all created data at the end of every TestCase....

Kind regards

Andi


Viewing all articles
Browse latest Browse all 72043

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>