Do we need to run tests in debug mode for coverage or can we get the coverage results in release mode also

Do we need to run tests in debug mode for coverage or can we get the coverage results in when compiled in release mode also

2 comments
Avatar
Alexander Mikhailov
Comment actions Permalink

Hello Padma!

You can run tests under coverage in any mode, until pdb generation is enabled (Check Project Properties -> Build -> Advanced -> Debug Info).
Please note: coverage results may be different for debug and release modes because of optimizations.

0
Comment actions Permalink

Thank you Alexander.

0

Please sign in to leave a comment.