Hello,
I am trying to create a test automation project for my app,
I followed the manual, installed business central ver.21 sandbox on docker,
however I am unable to reference test libraries. Here is my app.json:
Hello,
I am trying to create a test automation project for my app,
I followed the manual, installed business central ver.21 sandbox on docker,
however I am unable to reference test libraries. Here is my app.json:
Thanks for the update.
So I found this:
"For those who come from a C/AL based version (per-BC15) note that the test keyword in the app.json no longer applies. To reference any of the test related apps (see list above) you need to explicitly reference them as dependencies. You can copy the relevant dependency definition line in the code block above and past that into your dependencies collection in your app.json."
Link: www.fluxxus.nl/.../
Apparently "test" property only worked in the versions that still had development environment.
Now you have to add every test library you need in the dependencies.
Unfortunately, that's not the problem. Every dependency is found successfully except the test.
Hello,
I assume it cannot find this dependency:
GeoLocalization
Hope it helps.
I am using version 21, I had specified that version everywhere and it was still unable to locate the test library, even though the test extensions are installed in the business central and I included "-includeTestToolkit" while installing BCContainer.
Ok, then check which version you are using and put the same version no. in your app.json file and then try again.
Yes, I tried exactly that and it does not work.
Also, I need test automation for business central version 21 and not 20.
"test": "20.0.0.0",
"screenshots": [],
"platform": "1.0.0.0",
"application": "20.0.0.0",
"idRanges": [
{
"from": 71372600,
"to": 71372600
}
],
"resourceExposurePolicy": {
"allowDebugging": true,
"allowDownloadingSource": true,
"includeSourceInSymbolFile": true
},
"runtime": "9.0",
I already did and it did not work.
change
"runtime": "9.0"
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... 290,556 Super User 2024 Season 2
Martin Dráb 228,625 Most Valuable Professional
nmaenpaa 101,148