Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stryker to run in release mode via AzDo Pipeline #2587

Closed
gowdachandan opened this issue Jun 23, 2023 · 3 comments · Fixed by #2928
Closed

Stryker to run in release mode via AzDo Pipeline #2587

gowdachandan opened this issue Jun 23, 2023 · 3 comments · Fixed by #2928
Labels
🚀 Feature request New feature or request

Comments

@gowdachandan
Copy link

gowdachandan commented Jun 23, 2023

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 gowdachandan added the 🐛 Bug Something isn't working label Jun 23, 2023
@gowdachandan gowdachandan changed the title Stryker to runs in release mode via AzDo Pipeline Stryker to run in release mode via AzDo Pipeline Jun 23, 2023
@dupdob dupdob added 🚀 Feature request New feature or request and removed 🐛 Bug Something isn't working labels Jun 23, 2023
@richardwerkman
Copy link
Member

Possibly related to #466

@rouke-broersma
Copy link
Member

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

@cnagaraj1
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🚀 Feature request New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants