Skip to content

Test Plan for Web App

Sheng Chen edited this page Jun 24, 2018 · 33 revisions

Prerequisites:

  • Install the newest code into local Maven repo - the newest code is in develop branch
  • Prepare a webapp maven project
  • change the maven plugin version to the newest one.

azure-webapp:deploy

Note: Usage can be found at: https://github.com/Microsoft/azure-maven-plugins/blob/master/docs/web-app-samples.md

  • Can deploy to Web App on windows
    • Can create Web App if it not exists
    • Can update Application settings
    • Can deploy through ftp deployment type
    • Can deploy through war deployment type
      • Can deploy to ROOT
      • Can deploy to other context path
      • Can specify the war file location
    • Can access Web App Url
  • Can deploy to Web App on Linux
    • Can create Web App if it not exists
    • Can update Application settings
    • For tomcat runtime:
      • Can deploy through ftp deployment type
      • Can deploy through war deployment type
        • Can deploy to ROOT
        • Can deploy to other context path
        • Can specify the war file location
    • For jre8 runtime:
      • Can deploy through ftp deployment type. Example
    • Can access Web App Url
  • Can deploy to Web App on Linux with public DockerHub container image
    • Can create Web App if it not exists
    • Can update Application settings
    • Can access Web App Url
  • Can deploy to Web App on Linux with private DockerHub container image
    • Can create Web App if it not exists
    • Can update Application settings
    • Can access Web App Url

Note: How to set up docker auth in Maven settings: https://stackoverflow.com/a/39924695/6756246

  • Can deploy to Web App on Linux with docker container image in private container registry

    • Can create Web App if it not exists
    • Can update Application settings
    • Can access Web App Url
  • Can deploy Web App to existing App Service Plan. Example

Clone this wiki locally