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

Add E2E tests for using sources that requires Certificate authentication #2827

Open
AdmiringWorm opened this issue Sep 22, 2022 · 0 comments
Labels
Tests Issues related to the tests (NUnit or Pester)

Comments

@AdmiringWorm
Copy link
Member

Is Your Feature Request Related To A Problem? Please describe.

In the Chocolatey CLI codebase we have code that makes it possible to use a Certificate and Certificate password when authenticating with Chocolatey feed sources.
At the moment we do not have any tests for this functionality, and AFAIK no way to test whether this functionality works as intended.

Describe The Solution. Why is it needed?

We need to look into how to implement E2E tests when authenticating to Chocolatey feed sources that makes use of certificate authentication, both if they are configured as global sources or passed in during install/upgrade/list/info commands.

Additional Context.

It is possible that this functionality do not exist in later version of the NuGet codebase, meaning once we update the references used, we do not have this functionality anymore.
This also needs to be looked into, and if determined if we will not support the functionality in the future it will need to be deprecated instead of adding tests for this.

Related Issues

N/A.

@AdmiringWorm AdmiringWorm added the Tests Issues related to the tests (NUnit or Pester) label Sep 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Tests Issues related to the tests (NUnit or Pester)
Projects
None yet
Development

No branches or pull requests

1 participant