-
Notifications
You must be signed in to change notification settings - Fork 16
Test Runner: Integrate with Microsoft.Testing.Platform #358
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
Draft
Guillermo-Santos
wants to merge
25
commits into
main
Choose a base branch
from
feature/test-mtp
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 8 commits
Commits
Show all changes
25 commits
Select commit
Hold shift + click to select a range
ac661e7
Start work implementing Microsoft.Testing.Platform
Guillermo-Santos c81a438
Merge all Cosmos.TestRunner.* projects into Cosmos.TestingFramework
Guillermo-Santos 01fcb99
Restore Xml Output
Guillermo-Santos 50e0929
CosmosTestingFramework Version from assembly
Guillermo-Santos 221ec15
Add testing configuration support
Guillermo-Santos ad0cc92
🙈 Remove source generated files
Guillermo-Santos 0b6977e
Fix nuget config
Guillermo-Santos cb0aedd
Test projects should use MTP
Guillermo-Santos 88e28f5
Fix Cosmos.Test.Build.Analyzers.Patcher
Guillermo-Santos fc09cf3
Fix the other general tests
Guillermo-Santos 9aad77d
🙈 Remove old run command
Guillermo-Santos 90fa9d8
try fix
Guillermo-Santos 3c395a4
Test was missing submodules
Guillermo-Santos c6f188c
Merge branch 'main' into feature/test-mtp
Guillermo-Santos e4b313a
Refactor Test Kernel workflow
Guillermo-Santos 95abe4c
🙈 Fix Test results directory and add 'keep-output' option
Guillermo-Santos 36e29ea
Add missing slash, add keep output.
Guillermo-Santos 2a46c60
fix timeout parameter
Guillermo-Santos 969377e
Update the rest of the kernels
Guillermo-Santos 7f7bdcc
Fix format
Guillermo-Santos 74cce0e
Fix tests
Guillermo-Santos c6c9667
🙈 Fix Graphics and GC Test Kernels project files
Guillermo-Santos bcbb364
Add Test Scanning for test class kernels
Guillermo-Santos dd05799
Migrate the HelloWorld Test Kernel to Source Generator
Guillermo-Santos 7bb1e2d
Return EmitCompilerGeneratedFiles
Guillermo-Santos 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,3 +1,20 @@ | ||
| <?xml version="1.0" encoding="utf-8"?> | ||
| <configuration> | ||
| <packageSources> | ||
| <clear /> | ||
| <add key="nuget.org" value="https://api.nuget.org/v3/index.json" /> | ||
| <add key="local-packages" value="./artifacts/package/release" /> | ||
| </packageSources> | ||
|
|
||
| <packageSourceMapping> | ||
| <!-- Map Cosmos packages to local feed --> | ||
| <packageSource key="local-packages"> | ||
| <package pattern="Cosmos.*" /> | ||
| <package pattern="_Cosmos.*" /> | ||
| </packageSource> | ||
| <!-- Everything else goes to nuget.org --> | ||
| <packageSource key="nuget.org"> | ||
| <package pattern="*" /> | ||
| </packageSource> | ||
| </packageSourceMapping> | ||
| </configuration> |
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 |
|---|---|---|
| @@ -1,22 +1,22 @@ | ||
| <Solution> | ||
| <Folder Name="/tests/"> | ||
| <Project Path="tests\Cosmos.Tests.Build.Analyzer.Patcher\Cosmos.Tests.Build.Analyzer.Patcher.csproj"/> | ||
| <Project Path="tests\Cosmos.Tests.Build.Asm\Cosmos.Tests.Build.Asm.csproj"/> | ||
| <Project Path="tests\Cosmos.Tests.NativeWrapper\Cosmos.Tests.NativeWrapper.csproj"/> | ||
| <Project Path="tests\Cosmos.Tests.Patcher\Cosmos.Tests.Patcher.csproj"/> | ||
| <Project Path="tests\Cosmos.Tests.Scanner\Cosmos.Tests.Scanner.csproj"/> | ||
| <Project Path="tests\Cosmos.Tests.BuildCache\Cosmos.Tests.BuildCache.csproj"/> | ||
| <Project Path="tests\Cosmos.TestRunner.Engine\Cosmos.TestRunner.Engine.csproj"/> | ||
| <Project Path="tests\Cosmos.TestRunner.Framework\Cosmos.TestRunner.Framework.csproj"/> | ||
| <Project Path="tests\Cosmos.TestRunner.Protocol\Cosmos.TestRunner.Protocol.csproj"/> | ||
| <Project Path="tests\Cosmos.Tests.Build.Analyzer.Patcher\Cosmos.Tests.Build.Analyzer.Patcher.csproj" /> | ||
| <Project Path="tests\Cosmos.Tests.Build.Asm\Cosmos.Tests.Build.Asm.csproj" /> | ||
| <Project Path="tests\Cosmos.Tests.NativeWrapper\Cosmos.Tests.NativeWrapper.csproj" /> | ||
| <Project Path="tests\Cosmos.Tests.Patcher\Cosmos.Tests.Patcher.csproj" /> | ||
| <Project Path="tests\Cosmos.Tests.Scanner\Cosmos.Tests.Scanner.csproj" /> | ||
| <Project Path="tests\Cosmos.Tests.BuildCache\Cosmos.Tests.BuildCache.csproj" /> | ||
| <Project Path="tests/Cosmos.TestingFramework/Cosmos.TestingFramework.csproj" /> | ||
| <Project Path="tests/Cosmos.TestingFramework.SourceGenerators/Cosmos.TestingFramework.SourceGenerators.csproj" /> | ||
| <Project Path="tests/TestKernel/TestKernel.csproj" /> | ||
| </Folder> | ||
| <Folder Name="/tests/Kernels/"> | ||
| <Project Path="tests/Kernels/Cosmos.Kernel.Tests.Graphic/Cosmos.Kernel.Tests.Graphic.csproj"/> | ||
| <Project Path="tests/Kernels/Cosmos.Kernel.Tests.HelloWorld/Cosmos.Kernel.Tests.HelloWorld.csproj"/> | ||
| <Project Path="tests/Kernels/Cosmos.Kernel.Tests.Memory/Cosmos.Kernel.Tests.Memory.csproj"/> | ||
| <Project Path="tests/Kernels/Cosmos.Kernel.Tests.Network/Cosmos.Kernel.Tests.Network.csproj"/> | ||
| <Project Path="tests/Kernels/Cosmos.Kernel.Tests.Threading/Cosmos.Kernel.Tests.Threading.csproj"/> | ||
| <Project Path="tests/Kernels/Cosmos.Kernel.Tests.Timer/Cosmos.Kernel.Tests.Timer.csproj"/> | ||
| <Project Path="tests/Kernels/Cosmos.Kernel.Tests.TypeCasting/Cosmos.Kernel.Tests.TypeCasting.csproj"/> | ||
| <Project Path="tests/Kernels/Cosmos.Kernel.Tests.Graphic/Cosmos.Kernel.Tests.Graphic.csproj" /> | ||
| <Project Path="tests/Kernels/Cosmos.Kernel.Tests.HelloWorld/Cosmos.Kernel.Tests.HelloWorld.csproj" /> | ||
| <Project Path="tests/Kernels/Cosmos.Kernel.Tests.Memory/Cosmos.Kernel.Tests.Memory.csproj" /> | ||
| <Project Path="tests/Kernels/Cosmos.Kernel.Tests.Network/Cosmos.Kernel.Tests.Network.csproj" /> | ||
| <Project Path="tests/Kernels/Cosmos.Kernel.Tests.Threading/Cosmos.Kernel.Tests.Threading.csproj" /> | ||
| <Project Path="tests/Kernels/Cosmos.Kernel.Tests.Timer/Cosmos.Kernel.Tests.Timer.csproj" /> | ||
| <Project Path="tests/Kernels/Cosmos.Kernel.Tests.TypeCasting/Cosmos.Kernel.Tests.TypeCasting.csproj" /> | ||
| </Folder> | ||
| </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
16 changes: 0 additions & 16 deletions
16
tests/Cosmos.TestRunner.Engine/Cosmos.TestRunner.Engine.csproj
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
19 changes: 0 additions & 19 deletions
19
tests/Cosmos.TestRunner.Framework/Cosmos.TestRunner.Framework.csproj
This file was deleted.
Oops, something went wrong.
10 changes: 0 additions & 10 deletions
10
tests/Cosmos.TestRunner.Protocol/Cosmos.TestRunner.Protocol.csproj
This file was deleted.
Oops, something went wrong.
18 changes: 18 additions & 0 deletions
18
.../Cosmos.TestingFramework.SourceGenerators/Cosmos.TestingFramework.SourceGenerators.csproj
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,18 @@ | ||
| <Project Sdk="Microsoft.NET.Sdk"> | ||
|
|
||
| <PropertyGroup> | ||
| <TargetFramework>netstandard2.0</TargetFramework> | ||
| <ImplicitUsings>enable</ImplicitUsings> | ||
| <Nullable>enable</Nullable> | ||
| <OutputItemType>Analyzer</OutputItemType> | ||
| <EnforceExtendedAnalyzerRules>true</EnforceExtendedAnalyzerRules> | ||
| </PropertyGroup> | ||
|
|
||
| <ItemGroup> | ||
| <PackageReference Include="Microsoft.CodeAnalysis.Analyzers"> | ||
| <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets> | ||
| <PrivateAssets>all</PrivateAssets> | ||
| </PackageReference> | ||
| <PackageReference Include="Microsoft.CodeAnalysis.CSharp" PrivateAssets="all" /> | ||
| </ItemGroup> | ||
| </Project> |
4 changes: 4 additions & 0 deletions
4
tests/Cosmos.TestingFramework.SourceGenerators/IsExternalInit.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,4 @@ | ||
| namespace System.Runtime.CompilerServices | ||
| { | ||
| public class IsExternalInit { } | ||
| } |
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.
Uh oh!
There was an error while loading. Please reload this page.