-
Notifications
You must be signed in to change notification settings - Fork 268
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
Onboard to new dotnet test experience #5111
Merged
Merged
Changes from all commits
Commits
Show all changes
55 commits
Select commit
Hold shift + click to select a range
5b99712
Onboard to new dotnet test experience
Evangelink af2e1f9
Update name
Youssef1313 39c6c27
Revert back
Youssef1313 8db05c8
Use the old experience for test assets
Youssef1313 fe77fea
Add missing paren
Youssef1313 f14c3b2
Use TestSuiteDirectory for dotnet.config and make it default working …
Youssef1313 9e2efb3
Update dotnet.config
Youssef1313 c94ee87
Revert back again...
Youssef1313 91bfcd9
Adjust for working directory of testhost
Youssef1313 ca186fd
Avoid racing
Youssef1313 0bbe49d
Create directory
Youssef1313 48bea7f
Revert
Youssef1313 adb848a
Adjust tests
Youssef1313 95f1ae5
Fix test
Youssef1313 a2fdd3c
Fix some tests
Youssef1313 bd1c429
Adjust
Youssef1313 82ca6d8
Adjust
Youssef1313 3b9a212
Fix tests
Youssef1313 dbb9a9e
One more fix
Youssef1313 a661056
Merge branch 'main' into dotnet-test-new-exp
Youssef1313 68f64cb
More progress
Youssef1313 569c16d
Fix more tests
Youssef1313 ebc54ff
More test fixes
Youssef1313 2b9e3a3
Use dotnet test in CI
Youssef1313 a6b7c83
Fix
Youssef1313 1c5748c
Fix for Playground not considered MTP
Youssef1313 d018400
Fix
Youssef1313 c24ee02
Fix for MSBuild unit tests
Youssef1313 85e9494
Update dotnet.config
Youssef1313 7c71858
Update SDK
Youssef1313 aba6450
Trace
Youssef1313 495afb3
Fix
Youssef1313 91ef8d0
Create directory
Youssef1313 abf88e9
Update SDK
Youssef1313 d70e862
Update SDK again
Youssef1313 7e32f80
Merge branch 'main' into dotnet-test-new-exp
Youssef1313 2cf00d1
Update
Youssef1313 4027275
Adjust arguments
Youssef1313 970a300
Import targets
Youssef1313 9eb4488
Build all tests
Youssef1313 d97b409
Adjust for non-Windows
Youssef1313 68cd58f
Fix
Youssef1313 7f5df52
Specify DOTNET_ROOT
Youssef1313 3d0ccc9
Use env variable
Youssef1313 2801519
Is Windows green now?
Youssef1313 ac2f2ec
Use slnf
Youssef1313 30eb698
Fix
Youssef1313 969f681
Fix
Youssef1313 0da773e
Fix typo
Youssef1313 4e75abe
.NET Framework only on Windows
Youssef1313 07daa78
Fix
Youssef1313 0a4fbdd
Merge branch 'main' into dotnet-test-new-exp
Youssef1313 c3ae9a3
Ignore flaky
Youssef1313 dacca6a
Fix
Youssef1313 ce6ae48
Is it going to be green now?
Youssef1313 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
{ | ||
"solution": { | ||
"path": "TestFx.sln", | ||
"projects": [ | ||
"test/IntegrationTests/Microsoft.Testing.Platform.Acceptance.IntegrationTests/Microsoft.Testing.Platform.Acceptance.IntegrationTests.csproj", | ||
"test/IntegrationTests/MSTest.Acceptance.IntegrationTests/MSTest.Acceptance.IntegrationTests.csproj", | ||
"test/UnitTests/Microsoft.Testing.Extensions.UnitTests/Microsoft.Testing.Extensions.UnitTests.csproj", | ||
"test/UnitTests/Microsoft.Testing.Extensions.VSTestBridge.UnitTests/Microsoft.Testing.Extensions.VSTestBridge.UnitTests.csproj", | ||
"test/UnitTests/Microsoft.Testing.Platform.UnitTests/Microsoft.Testing.Platform.UnitTests.csproj", | ||
"test/UnitTests/Microsoft.Testing.Platform.MSBuild.UnitTests/Microsoft.Testing.Platform.MSBuild.UnitTests.csproj", | ||
"test/UnitTests/MSTest.Analyzers.UnitTests/MSTest.Analyzers.UnitTests.csproj" | ||
] | ||
} | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
[dotnet.test:runner] | ||
name= "Microsoft.Testing.Platform" |
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
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
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.
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.
We have 3 options:
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 it would be nice if we used dotnet test in both, it would push us to have simple experience for stuff like
dotnet test --project-filter !*Integration*
, and overall better excercising of our own experience.on the other hand this is a departure of what @Evangelink said in some other post (paraprasing): We are under arcade, that does things one way, and we should keep doing it the same way so common gestures in repos remain the same (like running tests).
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.
But in this case I think being able to use our own tools, to experience the ease to use (or lack of), everyday outweights being standard. Especially if test.cmd continues to work.
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.
@nohwnd we can easily add a fake target that would fail when user do
-test
with arcade and recommend to usedotnet test
instead. The suggestion to have both for some time was just to ensure we don't miss some tests but we can also have the routine of checking number of tests for some time or to start with minimal number of tests flag set to what was run before moving todotnet test
.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 was thinking about source-build here probably, but we did not end up enrolling into that, so I don't have many concerns about other people that are familiar with arcade having to routinely build and test our repo.