mirror of
https://github.com/azaion/admin.git
synced 2026-04-22 08:36:32 +00:00
[AZ-189] [AZ-190] [AZ-191] [AZ-192] [AZ-193] [AZ-194] [AZ-195] Add e2e blackbox test suite
Made-with: Cursor
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
FROM mcr.microsoft.com/dotnet/sdk:10.0 AS build
|
||||
WORKDIR /src
|
||||
COPY Azaion.E2E/Azaion.E2E.csproj Azaion.E2E/
|
||||
RUN dotnet restore Azaion.E2E/Azaion.E2E.csproj
|
||||
COPY Azaion.E2E/ Azaion.E2E/
|
||||
WORKDIR /src/Azaion.E2E
|
||||
RUN dotnet publish -c Release -o /out /p:UseAppHost=false
|
||||
|
||||
FROM mcr.microsoft.com/dotnet/sdk:10.0
|
||||
WORKDIR /test
|
||||
COPY --from=build /out .
|
||||
ENTRYPOINT ["dotnet", "test", "Azaion.E2E.dll", "-c", "Release", "--no-build", "--results-directory", "/test-results", "--logger", "console;verbosity=normal", "--logger", "trx;LogFileName=results.trx", "--logger", "xunit;LogFilePath=/test-results/results.xunit.xml"]
|
||||
Reference in New Issue
Block a user