-
Notifications
You must be signed in to change notification settings - Fork 352
Use fakes to surround vstest core and test it #3347
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
Changes from 30 commits
Commits
Show all changes
37 commits
Select commit
Hold shift + click to select a range
cf19aa2
use fakes over mocks
nohwnd 8df3854
Isolating
nohwnd 308ccd2
More code
nohwnd 69ee04e
Add response pairs
nohwnd eb37be0
respond me
nohwnd 1a8090c
Add comment
nohwnd 6053c81
stuff
nohwnd 6766ce6
Chased down the teardown bug.
nohwnd 148086a
Passing test finally, now refactor
nohwnd e3ec7b1
Merge branch 'main' into fakes-over-mocks
nohwnd ae16fa7
Merge branch 'main' into fakes-over-mocks
nohwnd 9ce6bc0
Format the test names so I can read them better
nohwnd d6be5d5
About to split up to multiple assemblies.
nohwnd 8c91ed7
make code succint
nohwnd aae9dcd
more cleanup
nohwnd d4aad3a
Merge branch 'main' into fakes-over-mocks
nohwnd 1199580
More cleanup
nohwnd 4cd58c7
use the correct testhost actually.
nohwnd a638603
Test multi tfm
nohwnd 2f8f0d6
Add test for the current behavior of tfms
nohwnd 48d6a0b
Check warning.
nohwnd 1c3ca5c
Allow 0 tests to be returned.
nohwnd 1ea876b
Add comment
nohwnd b3d128d
Apply suggestions from code review
nohwnd ab696c9
Revert playground
nohwnd 183b711
Fix protected changes
nohwnd 346fe30
Remove using
nohwnd a3635da
More cosmetic issues
nohwnd 3c31acf
Fix build issues
nohwnd 7522f78
Merge branch 'main' into fakes-over-mocks
nohwnd 5b12b0c
Apply suggestions from code review
nohwnd da61447
Apply suggestions from code review
nohwnd 35c8809
Update test/Intent/Extensions.cs
nohwnd 3f29dea
Fix review comments
nohwnd 6b0f22a
Merge branch 'fakes-over-mocks' of https://github.com/nohwnd/vstest i…
nohwnd 1ec47bf
Remove empty line
nohwnd 30752dc
Fix errors in release
nohwnd 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
12 changes: 12 additions & 0 deletions
12
src/Microsoft.TestPlatform.Common/Hosting/ITestRuntimeProviderManager.cs
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,12 @@ | ||
| // Copyright (c) Microsoft Corporation. All rights reserved. | ||
| // Licensed under the MIT license. See LICENSE file in the project root for full license information. | ||
|
|
||
| namespace Microsoft.VisualStudio.TestPlatform.Common.Hosting; | ||
|
|
||
| using Microsoft.VisualStudio.TestPlatform.ObjectModel.Host; | ||
|
|
||
| internal interface ITestRuntimeProviderManager | ||
| { | ||
| ITestRuntimeProvider GetTestHostManagerByRunConfiguration(string runConfiguration); | ||
| ITestRuntimeProvider GetTestHostManagerByUri(string hostUri); | ||
|
Evangelink marked this conversation as resolved.
|
||
| } | ||
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
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.