File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -56,12 +56,12 @@ jobs:
5656 docker exec --user root $(docker ps -qf "ancestor=mcr.microsoft.com/mssql/server:2022-latest") chown -R mssql:mssql /tmp/other_databases_path
5757
5858 - name : Run tests
59- run : |
59+ run : |
6060 dotnet test PosInformatique.Testing.Databases.sln \
6161 --configuration Release \
6262 --no-build \
63- --logger "trx;LogFileName=test_results.trx" \
64- --results-directory ./TestResults
63+ --results-directory ./TestResults \
64+ -- MSTest.PlatformArgs="--report-trx --report-trx-filename test_results.trx" \
6565 env :
6666 SQL_SERVER_UNIT_TESTS_CONNECTION_STRING : " Data Source=localhost,1433;Database=master;User Id=sa;Password=P@ssw0rd12345!;TrustServerCertificate=True;"
6767 SQL_SERVER_UNIT_TESTS_OTHER_DATA_PATH : " /tmp/other_databases_path/"
Original file line number Diff line number Diff line change 1515
1616 <!-- Add the support Microsoft Test Platform -->
1717 <PropertyGroup >
18- <UseMicrosoftTestingPlatformRunner >false </UseMicrosoftTestingPlatformRunner >
18+ <UseMicrosoftTestingPlatformRunner >true </UseMicrosoftTestingPlatformRunner >
1919 <TestingPlatformDotnetTestSupport >true</TestingPlatformDotnetTestSupport >
2020 </PropertyGroup >
2121
You can’t perform that action at this time.
0 commit comments