-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Running the test in normal mode overwrites the config.json file. #98
Comments
Hi, could you give me some more information please? When you run a test it should
What actually happens? |
Hi. When you click on DebugTest in the terminal is created, the choice of the server is offered, the choice of the company is offered. Crashes on testing. Created a repository with an example. Look, please, if possible. |
I guess that you have the publishing from powershell option enabled in the settings. In that case you should also set the "test folder name" setting (with the name of the folder which contains your tests). You need to restart VS Code after changing this setting. Alternatively try disabling the powershell publishing option. |
Good day. I was able to achieve the launch of testing, but the test still hangs. In the terminal, you can see that the test passes successfully, does not stop. Apparently due to a write error in codecoverage.json Running tests on BC-TEST, company CRONUS UK Ltd., tenant default, codeunit 800102, function TestSayHello, extension ALProject2, test runner 130450, culture en-US Connecting to https://localhost:443/BC/cs?tenant=default&company=CRONUS%20UK%20Ltd. Downloading code coverage to .//.altestrunner//codecoverage.json
|
Please check the testRunnerServiceUrl setting in the AL Test Runner config file. The extension will attempt to fill this URL in but it looks like it is wrong. This is the REST endpoint to download the code coverage file from. The InputObject being null is a bit of an obscure error indicating that the script was not able to download anything from that endpoint. You might need to correct the port and or server address. Alternatively you can disable the code coverage option in the settings in the meantime. Cheers, |
Hello James.
I'm trying to set up Test Runer and I'm running into a problem.
Running the test in normal mode completely overwrites the config.json file.
As a result, an error occurs due to the fact that the password is not specified.
Can you tell me what can be done about it? Is this a bug or is there a setting missing somewhere?
The text was updated successfully, but these errors were encountered: