CAKE and DumpXmlTestDiscovery setting from NUnit test adapter

21 Views Asked by At

I have solution with unit tests. I create .runsettings configuration in my project using this and add setting 'DumpXmlTestDiscovery' from this page https://docs.nunit.org/articles/vs-test-adapter/Tips-And-Tricks.html

After local build, I can find dump file in **\bin\Debug\Dump.

I tried to build my solution via CAKE using

MSBuild(solution, new MSBuildSettings {
            Verbosity = buildVerbosity,
            Configuration = configuration,
            MaxCpuCount = 0,
            NodeReuse = false,
            ToolVersion = MSBuildToolVersion.VS2019
        });

but this dump file didn't create.

Is there a way to get this dump file while running MSBuild in CAKE?

0

There are 0 best solutions below