stryker-net
stryker-net copied to clipboard
Stryker to run in release mode via AzDo Pipeline
Describe the bug Stryker always runs in debug mode via AzDo Pipeline
Logs No Logs Needed
Expected behavior Stryker always runs in debug mode. we need an option to be executed via release mode. "#if DEBUG" inside c# code block creates a problem while running mutation test case.
Desktop (please complete the following information):
- OS: macos
- Type of project .net core
- Framework Version .NetCore 6.0
- Stryker Version 3.9.*
Additional context Refer Stack overflow post below https://stackoverflow.com/questions/76379281/stryker-mutation-test-fails-when-debug-statement-is-added-in-c-sharp-method?noredirect=1#comment134730070_76379281
Possibly related to #466
It seems weird to me to run tests in Release mode, why do you want this?
It seems weird to me to run tests in Release mode, why do you want this?
I have debug statements which need not be executed via pipeline. I have stryker configured in Azdo Pipeline which needs to ignore debug statements