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

Namespaces #115

Closed FrankAuwers closed 7 months ago

FrankAuwers commented 11 months ago

If you use namespaces in your test codeunits. The test runner will not detect the test function in these codeunits.

B-Wissler commented 7 months ago

Hi @jimmymcp, @FrankAuwers,

the problem is, that the first lines (sometimes 20 lines) contain using commands to include different namespaces image ... and this plugin only searches for "Subtype = Test" in the first 10 lines

jimmymcp commented 7 months ago

hi @FrankAuwers and @B-Wissler, a new version of the pre-release is going through now (10.10.6). Please let me know if that fixes the issue and I will update the release version as well. (Just changed it to look at the first 50 lines of the codeunit to determine if it is a test codeunit)

B-Wissler commented 7 months ago

Yep, that fixes the problem. Thx for your quick response.