This project contains end-to-end tests for NuGet.org and its internal services.
End-to-end tests are meant to simulate customer scenarios and verify artifacts and results that customers care about. Testing of edge cases or implementation details should be done in component-specific functional or unit test suites.
- Create an account on the environment you wish to test.
- Create a new API key on this account.
- Modify
src\NuGet.Services.EndToEnd\Support\TestSettings.cs
:- Change the
CurrentMode
property to the environment you wish to target. - Inside of the
Create
method, find the instantiation ofTestSettings
that corresponds to the environment you wish to test. Replace theTestSetting
's"API_KEY"
string with the API key you created in step #2.
- Change the