Skip to content

Make VerifyComplexAppSample Test a [Theory] #4873

@lbussell

Description

@lbussell

Looking at the VerifyComplexAppSample test, there are two concerns:

  1. The complexapp sample Dockerfile uses the multi-platform tags and therefore won't build on Windows in .NET 8 due to Switch multi-platform tags to Linux only #4492:

    # https://hub.docker.com/_/microsoft-dotnet
    FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build
    WORKDIR /source

  2. The test is a [Fact], and therefore runs once per leg but uses only one base image, the multi-platform image, which is Debian. The Dockerfile should be amended to support multiple different images and the test should be amended to test across supported operating systems like the other sample tests.

    [Fact]
    public void VerifyComplexAppSample()

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions