Open navdotnetreqs opened 6 months ago
Sorry for the slow response.
The codeCoveragePath needs to be relative to the root of the test project folder, although you should just be able to leave that setting blank and have the extension find the code coverage file for itself. I should probably just remove that setting and any confusion that it causes.
From the VS Code extension's properties:
Runtime Status Activation Activated by onLanguage:al event: 10ms
Uncaught Errors (15) (0 , alFileHelper_1.getTestFolderPath) is not a function
ENOENT: no such file or directory, copyfile 'c:\Users\j\Documents\AL\Company\tests.altestrunner\codecoverage.json' -> 'C:\Users\j\AppData\Local\Temp\codeCoverage2024-05-08T04-57-14-908Z.json'
ENOENT: no such file or directory, copyfile 'c:\Users\j\Documents\AL\Company\tests.altestrunner\codecoverage.json' -> 'C:\Users\j\AppData\Local\Temp\codeCoverage2024-05-08T04-58-07-325Z.json'
The path I have open in VS Code is: C:\Users\j\Documents\AL\Company\AppTests.alpackages
The setup in config.json is: "codeCoveragePath": ".//.altestrunner//codecoverage.json",
If I put the full path in here, the copy goes ok.