jimmymcp / al-test-runner

VS Code Extension to help run AL tests against Business Central container
https://jpearson.blog/al-test-runner-for-visual-studio-code/
MIT License
11 stars 16 forks source link

Copy of code coverage file from wrong path? #145

Open navdotnetreqs opened 4 months ago

navdotnetreqs commented 4 months ago

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.