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.
Hey Mohana,
on putting "test":"1.0.0.0", I'm getting the following error:
1. "'test' is being deprecated in the versions: '4.0' or greater. This property is being deprecated in favor of explicit dependencies on the test libraries extensions. This warning will become an error in a future release."
2. "A package with publisher 'Microsoft', name 'Test', and a version compatible with '1.0.0.0' could not be found in the package cache folders: c:\\Users\\anas.naeemi\\Documents\\AL\\CheckPageOpen\\.alpackages",
"test": "1.0.0.0" should work
can you write down the parameters with their version?
Did you install as well? Install-NAVApp?
Add test: parameter like application and platform in app.json
Download symbols
try now
I have installed it but still not showing up in AL Object designer.
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
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.
The thing is that in my powershell no NAV commands are running.
You have to install like the other business central apps.
learn.microsoft.com/.../devenv-how-publish-and-install-an-extension-v2
I got the folder but there is no setup for installing libraries. can you show me?
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,113 Super User 2024 Season 2
Martin Dráb 229,918 Most Valuable Professional
nmaenpaa 101,156