-
Notifications
You must be signed in to change notification settings - Fork 5k
Switch to VSTest in CI #39923
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
Closed
ViktorHofer
wants to merge
78
commits into
dotnet:master
from
ViktorHofer:DotNetTestRemoveXunitConsole
Closed
Switch to VSTest in CI #39923
Changes from all commits
Commits
Show all changes
78 commits
Select commit
Hold shift + click to select a range
838ddae
Switch to VSTest in CI and remove xunit.console
ViktorHofer 1e2834f
Fix GenerateRunScript sequencing
ViktorHofer 9a37bf5
Update docs and other usages
ViktorHofer c255ed7
fixessss
ViktorHofer c2a244c
better syntax
ViktorHofer 8902245
runsettings file path fix
ViktorHofer c3e4655
DotNetHostPath fix
ViktorHofer 6923c2d
Runsettings building in CI
ViktorHofer 9410004
Fix casing of outerBuild
ViktorHofer b44b1db
Respect MonoEnvOptions
ViktorHofer 2d43525
Respect MonoEnvOptions correctly
ViktorHofer a6cfd27
Use the publish output instead of the bin
ViktorHofer 043c74f
Update docs/workflow/testing/libraries/testing.md
ViktorHofer 5084f08
Code cleanup
ViktorHofer 556937c
set VSTEST_DUMP_PATH
ViktorHofer 1a2f4e1
update helix variable
ViktorHofer 3a05f4d
Progress
ViktorHofer 2931e64
Cleanup & fixes
ViktorHofer e8aaedc
Include runner xunit assemblies
ViktorHofer dd43a37
Update helix SDK to avoid dotnet cli collision
safern fba9fcc
Publish .runsettings file and nit coverage fixes
ViktorHofer 92eac51
Fix runner copying and dotnet path
ViktorHofer 6b661ac
Fix code coverage and XmlSerializer.Generator
ViktorHofer e2459e9
Set vstest_dump_path correctly
ViktorHofer 150b3f6
wasm template invocation fix
ViktorHofer e01052c
fix WasmRunnerTemplate args
ViktorHofer 912259d
Update helix sdk again
ViktorHofer 769530e
Merge branch 'master' into DotNetTestRemoveXunitConsole
ViktorHofer 3b660ea
Merge branch 'master' into DotNetTestRemoveXunitConsole
ViktorHofer a4a1e9f
Merge branch 'master' into DotNetTestRemoveXunitConsole
ViktorHofer 70aa76f
Ignore VSTest enabled event sources
ViktorHofer 1597390
Make DebugTests robust against runners with custom trace listeners
ViktorHofer 6b69974
Don't set TargetPlatform in the runsettings file
ViktorHofer ef72bff
Merge remote-tracking branch 'upstream/master' into DotNetTestRemoveX…
ViktorHofer 66266e8
Pass --runtime switch to dotnet test
ViktorHofer 2799d3a
Ordering of HelixCommand
ViktorHofer ee23a22
Remove targetplatform from .runsettings file as well
ViktorHofer 24ff601
set platform
ViktorHofer cc32293
Remove TestSessionTimeout
ViktorHofer 689af35
Update RemoteExecutor
ViktorHofer 7e1b030
System.Console extra logging
ViktorHofer 7a3473b
interop everywhere
ViktorHofer 69ea02d
Grr fix
ViktorHofer 511a9a3
Disable OutputEncodingPreamble test on nano
ViktorHofer cc171f0
more logging
ViktorHofer a1c45cb
Avoid sdk dependency
ViktorHofer 9c1dafe
rollforward fix
ViktorHofer c5b3a4c
Fix binplacing
ViktorHofer 93c392f
vstest fixes
ViktorHofer e7bb831
Patch VSTest's runtimeconfig files
ViktorHofer 8c90501
Fix .NETFramework invocation
ViktorHofer 01fd323
NetFramework fixes
ViktorHofer c62a99e
Test fixes and wasm fixes
ViktorHofer 8146f67
Merge remote-tracking branch 'upstream/master' into DotNetTestRemoveX…
ViktorHofer 9a0a1fa
Fix test code
ViktorHofer 0e1799d
Pass traits to wasm run invocation
ViktorHofer a953524
REvert WindowAndCursorProps changes
ViktorHofer 3f46d72
Remove unnecessary test condition
ViktorHofer e102284
Update eng/testing/mobile/WasmRunnerTemplate.sh
ViktorHofer 95f2738
Handle behavior difference for Win7x86 Console tests
ViktorHofer c91989e
Merge branch 'DotNetTestRemoveXunitConsole' of https://github.com/Vik…
ViktorHofer b033e37
Merge remote-tracking branch 'upstream/master' into DotNetTestRemoveX…
ViktorHofer 9e01265
Disable Mono Windows test invocation
ViktorHofer 7999fb9
Disable test on nano
ViktorHofer 68d0ae5
Set the hang dump timeout in the test submission
ViktorHofer 45e9b59
Format work item timeout correctly
ViktorHofer b2bf360
Add xunit.console back until VSTest lightweight
ViktorHofer 5944644
Add docs for alternative test runner
ViktorHofer 787a7e0
Merge branch 'master' into DotNetTestRemoveXunitConsole
ViktorHofer 46fd013
Protect xunit test runner in CI
ViktorHofer 826b166
Merge remote-tracking branch 'upstream/master' into DotNetTestRemoveX…
ViktorHofer 3dc00a5
Fix yml indentation
ViktorHofer 442f14e
Fix yml again
ViktorHofer 1918ec5
Yml again
ViktorHofer da53320
Fix yml and dump timeout
ViktorHofer 639ed55
Increase timeout for extra testing job
ViktorHofer be71392
Merge remote-tracking branch 'upstream/master' into DotNetTestRemoveX…
ViktorHofer b68d4ba
Merge remote-tracking branch 'upstream/master' into DotNetTestRemoveX…
ViktorHofer 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 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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
parameters: | ||
buildConfig: '' | ||
archType: '' | ||
testLibrary: '' | ||
testRunner: '' | ||
condition: always() | ||
|
||
steps: | ||
# Build and test leaf solution | ||
- ${{ if ne(parameters.testLibrary, '') }}: | ||
ViktorHofer marked this conversation as resolved.
Show resolved
Hide resolved
|
||
- script: dotnet test | ||
$(Build.SourcesDirectory)/src/libraries/${{ parameters.testLibrary }}/ | ||
-c ${{ parameters.buildConfig }} | ||
/p:TargetArchitecture=${{ parameters.archType }} | ||
/p:TestRunner=${{ parameters.testRunner }} | ||
/bl:$(Build.SourcesDirectory)/artifacts/log/$(_BuildConfig)/innerloop-steps-test.binlog | ||
displayName: Build and test leaf solution |
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
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.
Uh oh!
There was an error while loading. Please reload this page.