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

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

Please sign in to leave a comment.