-
Notifications
You must be signed in to change notification settings - Fork 358
Development
Paul Batum edited this page Oct 18, 2019
·
23 revisions
- VS 2019
- Add a strong name skip verification entry to since the SDK assemblies are delay signed. To do this run
sn -Vr *,31bf3856ad364e35
from a Visual Studio administrator command prompt. See Sn.exe documentation for details. Particularly the warning about only enabling this during development.
- Pull and build the source in VS (WebJobs.sln)
- Set up the test storage account environment variables
-
AzureWebJobsStorage
- Set this to your test storage account. If you don't have an Azure Storage account yet, create one. -
AzureWebJobsSecondaryStorage
- Set this to a secondary test storage account. The multi-account tests require this. -
AzureWebJobsDashboard
- Storage account that will be used for dashboard logging (can be same as above) -
AzureWebJobsServiceBus
- Set this to your Service Bus namespace connection string -
AzureWebJobsServiceBusSecondary
- Set this to your Service Bus secondary namespace connection string -
AzureWebJobsTestHubConnection
- Create an EventHub namedwebjobstesthub
, create a shared access policy for that hub named "Default" with Manage rights, and set this to that connection string -
AzureWebJobsTestHubConnection2
- Create an EventHub namedwebjobstesthub2
, create a shared access policy for that hub named "Default" with Manage rights, and set this to that connection string
-
- Open Test Explorer to view and run tests (we use XUnit)