AL icon indicating copy to clipboard operation
AL copied to clipboard

How to create Visual Studio Code Test package for automated testing of AL extensions?

Open sainath654 opened this issue 7 years ago • 2 comments

Hello,

I have a created an AL extension APP for Business Central. Now i am in the process of submitting APP to Business Central app source. I have stuck in the place where i need to submit the App Test Automation.

123 Please guide me how to do that.

Thanks & Regards, Sainath.

sainath654 avatar Apr 04 '19 11:04 sainath654

Hello, You need to create a separate .app file that contains all your test codeunits. This test app needs to depend on your regular app (set in manifest/json). That test .app file then goes into that field. We then run these test .app files in our internal build systems for maintenance.

You can find information on creating this test app file here https://docs.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/devenv-extension-advanced-example-test

Ryan

ryanweigel avatar Apr 04 '19 16:04 ryanweigel

@sainath654 thanks for filing this issue. Ryan's answer provides information how you can unblock yourself. I will now close this issue, please comment here if you still are stuck. If you experience another issue please open another GitHub issue.

ghost avatar Apr 05 '19 06:04 ghost