Skip to content
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

fix: Simplify embedding the Microsoft.TestPlatform.Portable nupkg #3105

Conversation

0xced
Copy link
Contributor

@0xced 0xced commented Nov 10, 2024

Previously, embedding the Microsoft.TestPlatform.Portable NuGet package into Stryker.Core would only happen during an Azure Pipelines run. Now it's done at build time instead, thanks to GeneratePathProperty + $(PkgMicrosoft_TestPlatform_Portable) which enables locating the restored Microsoft.TestPlatform.Portable nupkg file at build time.

A new test has also been introduced, making sure that DeployEmbeddedVsTestBinaries is successful.

Finally, exception messages have been improved.

Fixes #3103

Previously, embedding the `Microsoft.TestPlatform.Portable` NuGet package into Stryker.Core would only happen during an Azure Pipelines run. Now it's done at build time instead, thanks to `GeneratePathProperty` + `$(PkgMicrosoft_TestPlatform_Portable)` which enables locating the restored `Microsoft.TestPlatform.Portable` nupkg file at build time.

A new test has also been introduced, making sure that `DeployEmbeddedVsTestBinaries` is successful.

Finally, exception messages have been improved.

Fixes stryker-mutator#3103
@0xced 0xced force-pushed the embed-Microsoft.TestPlatform.Portable branch from 040b0c1 to 586b973 Compare November 10, 2024 19:34
@rouke-broersma
Copy link
Member

That is very cool! Thanks! I'll review soon.

@rouke-broersma rouke-broersma changed the title Simplify embedding the Microsoft.TestPlatform.Portable nupkg fix: Simplify embedding the Microsoft.TestPlatform.Portable nupkg Nov 11, 2024
@rouke-broersma rouke-broersma merged commit 5f6b089 into stryker-mutator:master Nov 11, 2024
7 checks passed
@0xced 0xced deleted the embed-Microsoft.TestPlatform.Portable branch November 11, 2024 08:33
@0xced
Copy link
Contributor Author

0xced commented Nov 13, 2024

Thanks for merging and releasing version 4.4.1 quickly. 🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Stryker 4.4.0 no longer runs in the Github Build Pipeline
2 participants