Skip to content

Development

Mathew Charles edited this page Jun 29, 2020 · 23 revisions

Environment requirements

  • 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.

Building + Running Tests

  • 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)
  • Open Test Explorer to view and run tests (we use XUnit)
Clone this wiki locally