-
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
No output from the test execution #57
Comments
Hi, some ideas:
It sounds like you're all setup OK, just trying to get some more info. |
Thanks. |
It seems like I was able to make it work by doing a change on the Test-Runner-Service app.
If seems like the FunctionName parameter when the OnAfterTestRun is being called for the first time is empty and the Success parameter is false, so an error is being retrieved all the time. Does this make sense to you? |
Hey, `trigger OnAfterTestRun(CodeunitId: Integer; CodeunitName: Text; FunctionName: Text; Permissions: TestPermissions; Success: Boolean)
Also I get "Exception of type 'Microsoft.Dynamics.Nav.Types.Exceptions.NavNCLDialogException' was thrown." in the Terminal which I can not get further details on. Not in the event log, nor via application insights. Any idea what is keeping me from attaching the debugger to the test of choice? Best regards Sven |
Is it a timing issue, because the next session actually is the test runner, which uses new sessions for each test, so those are not in scope? |
Do you see any difference if you attach the debugger yourself before debugging the test? (as opposed to the extension attaching the debugger) |
Hi,
I'm trying to setup and use the AL Test Runner but I'm unable to get any output from the test execution.
What I'm using:
What I've done:
What I get:
When I try to run a test from the Test Explorer, I get the following on the Terminal:
I've tried to manually run the Invoke-TestRunnerService.ps1 script and debug it and here's where it stops:
You can see that there's no message in the error so I get no output on the Terminal:
I was not able to understand why the Invoke-WebRequest is failing.
I have debug the AL Test Runner Service and the TestRunner codeunit (codeunit 79151 "Test Runner JP") is being called but I guess that some error is being retrieved, I just cannot find it.
On the OnAfterTestRun trigger, the Success parameter is False but GetLastErrorText() and GetLastErrorCallStack() returns no error.
I couldn't find any related error in the container Event Viewer log.
Any hint?
The text was updated successfully, but these errors were encountered: