Automated Testing in Business Central 20

Who has experience using the standard tests of Microsoft using the AL Test Tool?

I can run the testtool with own created tests. I also want to run tests provided by Microsoft. Two questions:

  • where do I find those standard Microsoft tests?
  • how do I make them available in a BC Sandbox environment?

Henk_van_Roekel,
I have forwarded this to Steve Endow and will share the link I think he can assist.
Tanya

@Henk_van_Roekel,

If you don’t have a copy already, I recommend getting " Automated Testing in Microsoft Dynamics 365 Business Central - Second Edition" by Luc van Vugt.

I believe you are looking for the “Standard Libraries”. Per Luc’s book, they are in the “Test-TestLibraries” test app.

From there, look for codeunits relevant to your requirements, such as “Library - Sales”, “Library Assert”, “Library - Utility”, etc.

If you have any issues finding the app or codeunits, let me know and I’ll dig up our code to see how we access them.

Steve Endow

The “Extensive Logging” option in Avalara Configuration is designed to create a log on the NAV service tier, which logs every Gettax and Commit operation from releasing and posting orders. While this option can be helpful for troubleshooting and auditing purposes, it can also slow down the posting of orders, especially during busy periods.

Based on your tests, it seems that turning off the “Extensive Logging” option can significantly reduce the posting time of orders. However, Avalara support has advised keeping this option turned on, and you are still waiting for them to provide a reason for this recommendation.

If you haven’t already, it may be helpful to discuss the issue with other Avalara users or seek feedback from the NAV community to see if others have had similar experiences with this option. Additionally, you can continue working with Avalara support to determine why they are recommending keeping “Extensive Logging” turned on and whether there are any potential drawbacks to turning it off.

Ultimately, the decision to turn off “Extensive Logging” depends on your organization’s specific needs and priorities. If faster order posting times are a high priority during busy periods, it may be worth turning off this option, especially if you have other logging or auditing measures in place. However, if detailed logging is important for auditing and compliance reasons, you may need to weigh the potential trade-offs and determine the best approach for your organization.