Skip to content
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

Namespaces #115

Closed
FrankAuwers opened this issue Oct 12, 2023 · 3 comments
Closed

Namespaces #115

FrankAuwers opened this issue Oct 12, 2023 · 3 comments
Assignees

Comments

@FrankAuwers
Copy link

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

@B-Wissler
Copy link

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 jimmymcp self-assigned this Feb 1, 2024
jimmymcp added a commit that referenced this issue Feb 1, 2024
Search top 50 lines for test codeunit decoration #115
@jimmymcp
Copy link
Owner

jimmymcp commented Feb 1, 2024

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
Copy link

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

@jimmymcp jimmymcp closed this as completed Feb 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants