Hello everyone,
I was creating a testing code unit for a custom table. But when I am trying to use "Assert" codeunit as a variable it is raising an error that "Assert codeunit not found'. I am not using dockers as I don't know how to use it. Maybe I have to install NavTestToolKit first. But I do not know how to install it. Kindly help.
you can find the test libraries under \Applications\testframework folder of the DVD
Hi Mohana, I didn't get that.
you have to install test library apps which are available in the DVD folder for BC OnPrem
I got the folder but there is no setup for installing libraries. can you show me?
You have to install like the other business central apps.
learn.microsoft.com/.../devenv-how-publish-and-install-an-extension-v2
The thing is that in my powershell no NAV commands are running.
The term 'Publish-NAVApp' is not recognized as the name of a cmdlet, function, script file, or
operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try
again.
Please run this command first
Import-Module 'C:\Program Files\Microsoft Dynamics 365 Business Central\210\Service\NavAdminTool.ps1'
Path may change depending on the version
I have installed it but still not showing up in AL Object designer.
Did you install as well? Install-NAVApp?
Add test: parameter like application and platform in app.json
Download symbols
try now
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Rishabh Kanaskar 4,327
Sumit Singh 2,734
Nimsara Jayathilaka. 2,599