I am using dotnet core 2+, but the question is likely much more generic.
My CI pipeline currently looks like this:
dotnet build -c Release
dotnet test
dotnet public -c Release --no-build
For the test step, it uses the default Debug
configuration, therefore it also has to build the app using Debug
config.
Therefore, I was wondering, whether there is any advantage in running tests using Debug
rather than Release
or should i just simply add dotnet test -c Release
?