-
Notifications
You must be signed in to change notification settings - Fork 255
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
Add additional tests for package namespaces (PackageReference) restore #11038
Comments
Moved this to the next sprint. I would prioritize these tasks for the next sprint @kartheekp-ms |
Epics shouldn't have estimates themselves, but rather add up from the issues owned by it. |
@kartheekp-ms What is leftover here? I tweaked in order to make planning obvious. Adding back the estimate. |
Made some progress on this task: Added couple of tests for PMC Install/Update package scenarios for source mapping feature https://github.com/NuGet/NuGet.Client/tree/dev-kartheekp-ms-pmc-tests-pr-namespaces I will create PR's next sprint. |
Please note that @erdembayar has a task about PMC tests in #11187. Can you please consolidate and ensure that you're both not doing the same work/have dup issues? Thanks! |
@erdembayar here is the progress made on this issue so far.
Please let me know if I am missing anything. |
@kartheekp-ms @nkolev92 @aortiz-msft
Maybe put it on hold for now, we need discussion next week on this. |
@erdembayar - Can we use a custom https://github.com/NuGet/Samples/blob/main/PackageSourceMappingExample/nuget.config#L6 |
That is the 2nd option I proposed. In order to build NetCoreConsoleApp we need prepopulate |
@kartheekp-ms |
Maybe we need to find solution leveraging Dartlab(download needed packages during machine provision instead of adding to repository) for this since Apex tests are moving to 1ES. |
We could consider adding our own templates, potentially ones that target .NET Framework instead. Updating the used apex version might be a good idea s well. We could investigate how other people run tests like that. In general though, we should isolate the tests from impacting the global packages folder. It really is the same feedback we've often had on the unit/integration tests themselves. |
NuGet/NuGet.Client#4149 (review)
Similarly to packages.config, we should a bunch of other scenarios.
For example:
RestoreSources
in project file.-source
. (This comment will be addressed in Support sourceUri passed on nuget restore/install and dotnet restore package or other equivalent commands #10948)Update:
RestoreSources
and-SourceUri
dotnet add package tests for namespaces feature NuGet.Client#4225Restore Sources tests for nuget.exe
are also added by Erick in Support sourceUri passed on nuget restore/install and dotnet restore or RestoreSources set for msbuild /t:restore command, nuget restore NuGet.Client#4214. I added couple of tests in the PR linked to this issue to testsdotnet.exe
restore sources scenario.The text was updated successfully, but these errors were encountered: