@@ -169,18 +169,36 @@ let integrationTestsProjectPath =
169169
170170let [<Literal>] UpdateIntrospectionFileTarget = " UpdateIntrospectionFile"
171171Target.create UpdateIntrospectionFileTarget <| fun _ ->
172- integrationTestsProjectPath
173- |> DotNet.test ( fun options -> {
174- options with
175- Framework = Some DotNetMoniker
176- Configuration = configuration
177- Common = { DotNetCli.setVersion options.Common with CustomParams = Some " --filter FullyQualifiedName~IntrospectionUpdateTests" }
178- MSBuildParams = {
179- options.MSBuildParams with
180- DisableInternalBinLog = true
181- Verbosity = Some Normal
172+ let projectName = Path.GetFileNameWithoutExtension integrationTestsProjectPath
173+ let resultsFileName = $" {projectName}.trx"
174+
175+ DotNet.test
176+ ( fun options ->
177+ {
178+ options with
179+ NoBuild = true
180+ Logger = Some $" trx;LogFileName={resultsFileName}"
181+ ResultsDirectory = Some " test-results"
182+ Framework = Some DotNetMoniker
183+ Configuration = configuration
184+ Common = {
185+ options.Common with
186+ CustomParams = Some " --filter FullyQualifiedName~IntrospectionUpdateTests"
187+ }
188+ MSBuildParams = {
189+ options.MSBuildParams with
190+ DisableInternalBinLog = true
191+ Verbosity = Some Normal
192+ Properties = [
193+ if embedAll then
194+ ( " DebugType" , " embedded" )
195+ ( " EmbedAllSources" , " true" )
196+ ]
197+ }
182198 }
183- })
199+ |> _. WithRedirectOutput( true )
200+ |> _. WithCommon( DotNetCli.setVersion))
201+ integrationTestsProjectPath
184202
185203let unitTestsProjectPath =
186204 " tests"
0 commit comments