Skip to content

Test Plan for Function

Sheng Chen edited this page Mar 1, 2018 · 24 revisions

Prerequisites:

  • You can generate a scaffolding through the Azure Functions Maven Archetype
    • mvn archetype:generate -DarchetypeGroupId=com.microsoft.azure -DarchetypeArtifactId=azure-functions-archetype

azure-functions:package

  • Can generate the function files including jar and function.json for each function

azure-functions:add

  • Can add HTTP Trigger function
  • Can add Blob Trigger function
  • Can add Queue Trigger function
  • Can add Timer Trigger function

azure-functions:run

  • Can run function host locally.
  • Can run single function using -Dfunctions.target=*** property

azure-functions:deploy

  • Can deploy when deploymentType is set to msdeploy
  • Can deploy when deploymentType is set to ftp
  • Can update application settings through the <appSettings> configuration
  • Can create a function app if the name of the function app not exist on Azure, the properties of the created function app should be same as the configuration in the pom. More details here
  • After deployment, the function should be triggerred successfully.
Clone this wiki locally