stryker-net icon indicating copy to clipboard operation
stryker-net copied to clipboard

Stryker to run in release mode via AzDo Pipeline

Open gowdachandan opened this issue 1 year ago • 3 comments

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

gowdachandan avatar Jun 23 '23 10:06 gowdachandan

Possibly related to #466

richardwerkman avatar Jun 23 '23 13:06 richardwerkman

It seems weird to me to run tests in Release mode, why do you want this?

rouke-broersma avatar Sep 18 '23 08:09 rouke-broersma

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

cnagaraj1 avatar Nov 30 '23 07:11 cnagaraj1