-
Notifications
You must be signed in to change notification settings - Fork 213
Introducing TestType to TestRunner #3821
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
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
src/Tools/Test Framework/Test Runner/src/TestMethodLine.Table.al
Outdated
Show resolved
Hide resolved
src/Tools/Test Framework/Test Runner/src/TestMethodLine.Table.al
Outdated
Show resolved
Hide resolved
src/Tools/Test Framework/Test Runner/src/TestMethodLine.Table.al
Outdated
Show resolved
Hide resolved
src/Tools/Test Framework/Test Runner/src/TestSuiteMgt.Codeunit.al
Outdated
Show resolved
Hide resolved
src/Tools/Test Framework/Test Runner/src/TestSuiteMgt.Codeunit.al
Outdated
Show resolved
Hide resolved
stkillen
reviewed
Jun 4, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we also expose the test type in the UI page? E.g. filtering to test type could be useful
src/Tools/Test Framework/Test Runner/src/TestSuiteMgt.Codeunit.al
Outdated
Show resolved
Hide resolved
stkillen
previously approved these changes
Jun 10, 2025
nikolakukrika
previously approved these changes
Jun 10, 2025
…te/haoransun/include-testtype
stkillen
approved these changes
Jun 16, 2025
darjoo
approved these changes
Jun 16, 2025
aholstrup1
pushed a commit
to microsoft/navcontainerhelper
that referenced
this pull request
Jun 16, 2025
Allowing filter tests by `TestType` in CI pipeline, see more in Related to microsoft/BCApps#3821
haoranpb
added a commit
that referenced
this pull request
Jun 19, 2025
#### Summary Successor of: 1. #3821 2. microsoft/navcontainerhelper#3959 Only run `UnitTest` in the build of BCApps for both System Application and Business Foundation. It will be possible to define `IntegrationTest` in BCApps with [AB#581154](https://dynamicssmb2.visualstudio.com/Dynamics%20SMB/_workitems/edit/581154), but they will be run in NAV. (We only have `UnitTests` for now) Tried to take a look at disabled tests, they are not `IntegrationTest`, will not fix them as part of the effort. Re-enabling some easy fixes. #### Work Item(s) Fixes [AB#579962](https://dynamicssmb2.visualstudio.com/1fcb79e7-ab07-432a-a3c6-6cf5a88ba4a5/_workitems/edit/579962)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
Introducing
TestType
to TestRunner. We can now select whichTestType
to run from CLI.Related to microsoft/navcontainerhelper#3959
There will be a follow-up PR to add this capability in both
ALTestRunner.psm1
and navcontainerhelper Get-TestsWork Item(s)
Fixes AB#579962