-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Add integration tests for dotnet test scenarios #45138
Draft
mariam-abdulla
wants to merge
77
commits into
main
Choose a base branch
from
dev/mabdullah/add-integration-tests-for-dotnet-test-scenarios
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Changes from 1 commit
Commits
Show all changes
77 commits
Select commit
Hold shift + click to select a range
e120e68
add integration tests
mariam-abdulla c4e849a
Add some packages
mariam-abdulla fad998d
Add tests for hybrid mode handling
mariam-abdulla 0e13d3e
Update tests
mariam-abdulla 2231ca9
Add and remove empty lines
mariam-abdulla 8f15feb
Update tests
mariam-abdulla c739d30
Merge remote-tracking branch 'origin/main' into dev/mabdullah/add-int…
mariam-abdulla 8d5fb09
Fix test project
mariam-abdulla 4f16e31
Replace MicrosoftTestingExtensionsTrxReportVersion with MicrosoftTest…
mariam-abdulla 7365957
remove comment
mariam-abdulla 17a1d31
Replace mstest constant value
mariam-abdulla 9723cd2
Add test for dotnet test --coverage
mariam-abdulla f57fc16
Update testproject.csproj
mariam-abdulla 362d531
update tests
mariam-abdulla f18cef6
Merge branch 'main' into dev/mabdullah/add-integration-tests-for-dotn…
mariam-abdulla 3a54918
Read global.json to decide to run in vstest or testing platform mode
mariam-abdulla 0a8086a
remove unused method
mariam-abdulla e6a4458
Merge branch 'main' into dev/mabdullah/read-globaljson-in-dotnet-test
mariam-abdulla 9b76b5b
Update reading of global.json
mariam-abdulla 1ed22d4
Merge branch 'dev/mabdullah/read-globaljson-in-dotnet-test' of https:…
mariam-abdulla 4ba585b
Update namespace
mariam-abdulla 78971a2
Update var names
mariam-abdulla f0962da
Add CmdUnsupportedTestRunnerDescription to localizable strings
mariam-abdulla dbb40af
Merge remote-tracking branch 'origin/main' into dev/mabdullah/add-int…
mariam-abdulla d63b8a2
Merge branch 'dev/mabdullah/read-globaljson-in-dotnet-test' into dev/…
mariam-abdulla 1d22160
Update tests after global.json update
mariam-abdulla 3faf6e1
Add more tests to validate global.json
mariam-abdulla e9c2a23
Use msbuild APIs to load projects
mariam-abdulla e7bcc8a
Add space
mariam-abdulla 5c5e0d1
merge from main
mariam-abdulla 8d747c7
Fix formatting
mariam-abdulla 2b02833
Add comments
mariam-abdulla 0f6ae3b
merge from main
mariam-abdulla 5254d7e
Remove unneeded files
mariam-abdulla f4cce4e
Update src/Cli/dotnet/commands/dotnet-test/TestingPlatformCommand.cs
mariam-abdulla f078060
Replace 0 and 1 with constants
mariam-abdulla 4c9add2
Merge branch 'dev/mabdullah/use-msbuild-apis-to-retrieve-project-prop…
mariam-abdulla 771c1f1
Return from InitializeTestApplications() if _areTestingPlatformApplic…
mariam-abdulla def3cb8
Update method name
mariam-abdulla 3b75ca8
Use aggregator overload in ProcessProjectsInParallel()
mariam-abdulla 8e3b723
Apply some comments
mariam-abdulla b7b79ef
Remove ?
mariam-abdulla 5349e6c
Update GetSolutionFilePaths
mariam-abdulla cbc3389
Use Microsoft.VisualStudio.SolutionPersistence namespace to parse sol…
mariam-abdulla 9284893
Add GetSlnFileFullPath and GetProjectFileFullPath methods in Extensio…
mariam-abdulla 6b42f48
Refactor
mariam-abdulla 51c7424
Update ParseSolution to use GetSerializerByMoniker
mariam-abdulla 3855845
Merge branch 'main' into dev/mabdullah/use-msbuild-apis-to-retrieve-p…
mariam-abdulla 33eae8e
Add some tests
mariam-abdulla 082f260
Update src/Cli/dotnet/commands/dotnet-test/TestingPlatformCommand.cs
mariam-abdulla ae87351
Update src/Cli/dotnet/commands/dotnet-test/SolutionAndProjectUtility.cs
mariam-abdulla 3e26cd3
Update src/Cli/dotnet/commands/dotnet-test/SolutionAndProjectUtility.cs
mariam-abdulla 31593b0
Update src/Cli/dotnet/commands/dotnet-test/SolutionAndProjectUtility.cs
mariam-abdulla f781164
Update src/Cli/dotnet/commands/dotnet-test/SolutionAndProjectUtility.cs
mariam-abdulla 7e359d1
Merge branch 'main' into dev/mabdullah/use-msbuild-apis-to-retrieve-p…
mariam-abdulla 3c3d56b
Update src/Cli/dotnet/commands/dotnet-test/SolutionAndProjectUtility.cs
mariam-abdulla 55d247d
Apply comments
mariam-abdulla d3b11c5
merge
mariam-abdulla 41323d4
Update src/Cli/dotnet/commands/dotnet-test/SolutionAndProjectUtility.cs
mariam-abdulla a774524
Use Lock
mariam-abdulla 9d17be2
Merge branch 'dev/mabdullah/use-msbuild-apis-to-retrieve-project-prop…
mariam-abdulla 3f66a69
Update -bl logic
mariam-abdulla 97b5ae9
Merge branch 'main' into dev/mabdullah/use-msbuild-apis-to-retrieve-p…
mariam-abdulla 4f2b769
Remove unused var
mariam-abdulla 6504a67
Merge branch 'dev/mabdullah/use-msbuild-apis-to-retrieve-project-prop…
mariam-abdulla c3dc4f2
Support --solution
mariam-abdulla d96f016
merge
mariam-abdulla 517c20a
refactor code
mariam-abdulla 59136fb
merge
mariam-abdulla d393e58
merge and add tests for --solution and --directory
mariam-abdulla d96491d
Merge remote-tracking branch 'origin/main' into dev/mabdullah/add-int…
mariam-abdulla e009cb8
Fixes
mariam-abdulla c5fad3d
remove empty line
mariam-abdulla 6f5fd7c
Fix MicrosoftTestingPlatformVersion
mariam-abdulla fed7822
Remove unused prop
mariam-abdulla 17705c2
Update csproj files
mariam-abdulla e82c529
remove unused files
mariam-abdulla File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Update tests after global.json update
- Loading branch information
commit 1d22160990d24b8bd68f6d5b129265cd9fdb205c
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
7 changes: 7 additions & 0 deletions
7
test/TestAssets/TestProjects/HybridTestRunnerTestProjects/global.json
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"test" : { | ||
"runner": { | ||
"name": "MicrosoftTestingPlatform" | ||
} | ||
} | ||
} |
7 changes: 7 additions & 0 deletions
7
test/TestAssets/TestProjects/MSTestMetaPackageProjectWithMultipleTFMsSolution/global.json
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"test" : { | ||
"runner": { | ||
"name": "MicrosoftTestingPlatform" | ||
} | ||
} | ||
} |
7 changes: 7 additions & 0 deletions
7
test/TestAssets/TestProjects/MultiTestProjectSolutionWithDifferentFailures/global.json
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"test" : { | ||
"runner": { | ||
"name": "MicrosoftTestingPlatform" | ||
} | ||
} | ||
} |
7 changes: 7 additions & 0 deletions
7
test/TestAssets/TestProjects/MultiTestProjectSolutionWithDiscoveredTests/global.json
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"test" : { | ||
"runner": { | ||
"name": "MicrosoftTestingPlatform" | ||
} | ||
} | ||
} |
7 changes: 7 additions & 0 deletions
7
test/TestAssets/TestProjects/MultiTestProjectSolutionWithTests/global.json
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"test" : { | ||
"runner": { | ||
"name": "MicrosoftTestingPlatform" | ||
} | ||
} | ||
} |
7 changes: 7 additions & 0 deletions
7
test/TestAssets/TestProjects/MultipleTestProjectSolution/global.json
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"test" : { | ||
"runner": { | ||
"name": "MicrosoftTestingPlatform" | ||
} | ||
} | ||
} |
7 changes: 7 additions & 0 deletions
7
test/TestAssets/TestProjects/ProjectSolutionForMultipleTFMs/global.json
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"test" : { | ||
"runner": { | ||
"name": "MicrosoftTestingPlatform" | ||
} | ||
} | ||
} |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"test" : { | ||
"runner": { | ||
"name": "MicrosoftTestingPlatform" | ||
} | ||
} | ||
} |
7 changes: 7 additions & 0 deletions
7
test/TestAssets/TestProjects/TestProjectSolutionWithCodeCoverage/global.json
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"test" : { | ||
"runner": { | ||
"name": "MicrosoftTestingPlatform" | ||
} | ||
} | ||
} |
7 changes: 7 additions & 0 deletions
7
test/TestAssets/TestProjects/TestProjectSolutionWithTestsAndArtifacts/global.json
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"test" : { | ||
"runner": { | ||
"name": "MicrosoftTestingPlatform" | ||
} | ||
} | ||
} |
7 changes: 7 additions & 0 deletions
7
test/TestAssets/TestProjects/TestProjectWithDiscoveredTests/global.json
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"test" : { | ||
"runner": { | ||
"name": "MicrosoftTestingPlatform" | ||
} | ||
} | ||
} |
7 changes: 7 additions & 0 deletions
7
test/TestAssets/TestProjects/TestProjectWithMultipleTFMsSolution/global.json
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"test" : { | ||
"runner": { | ||
"name": "MicrosoftTestingPlatform" | ||
} | ||
} | ||
} |
7 changes: 7 additions & 0 deletions
7
test/TestAssets/TestProjects/TestProjectWithTests/global.json
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"test" : { | ||
"runner": { | ||
"name": "MicrosoftTestingPlatform" | ||
} | ||
} | ||
} |
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.
Oops, something went wrong.
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.
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.
I think this should not be commited as-is (it contains a
-dev
). Besides we are currently working on1.6.0-preview
at the moment.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.
Yes, it will be removed.