End-to-end tests covering the Node.js experience on Azure Functions
MIT License
This repo contains end-to-end tests for Node.js on Azure Functions. These are automated tests designed to run regularly against prerelease versions of all the various pieces that make up the Node.js experience on Azure Functions, including:
Here is the general flow of the pipeline:
./scripts/install-func-cli.ps1
in PowerShell to install the latest nightly build of Azure Functions Core Toolsnpm run install
and npm run build
in the root directory, and in the test app folders (app/v3
and app/v4
)You need to create resources once in your subscription, but then you can reuse the same resources for many different test runs. The CI pipeline will create and delete resources each time, but you don't need to do that.
BUILD_BUILDNUMBER
to any number like 20230520.1
. You want it to be reasonably unique because this will be used as a prefix for your Azure resources.az login
and az account set -s <subscription id>
if you're not already logged in to the Azure CLI. The tests will use these credentials.npm run createResources
e2edarwin202305201group
with several resourcesnpm run testV3
to test the v3 app, npm run testV4
to test the v4 app, or npm run test
to test bothThis project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact [email protected] with any additional questions or comments.