Hello,
Where can i configure the fact that i only want green/red dots to appear in left column of code, when this code is a Test class code ?
I would indeed sometimes like not to have them in the non testing code.
Thanks
Setup Problems
Disable green/red dots in left column, in classes that are not Test classes
Started by PAYET Richard on 1,623 views
Remco NCrunch Developer
#16782
26 Jul 2023 23:51 UTC
Hi,
Thanks for posting.
The only way you can do this is by turning off the 'Instrument Output Assembly' setting for your test projects. In this way, code coverage will not be tracked for source files in these projects.
However, there is a trade-off to this. NCrunch's impact detection requires instrumentation to work correctly, so if you turn it off for your test project, you won't be able to use the 'Run impacted tests only' mode.
Generally, it's better to leave them on. The markers are as useful in test code as they are in production code.
Thanks for posting.
The only way you can do this is by turning off the 'Instrument Output Assembly' setting for your test projects. In this way, code coverage will not be tracked for source files in these projects.
However, there is a trade-off to this. NCrunch's impact detection requires instrumentation to work correctly, so if you turn it off for your test project, you won't be able to use the 'Run impacted tests only' mode.
Generally, it's better to leave them on. The markers are as useful in test code as they are in production code.
Edited 26 Jul 2023 23:51 UTC
Deleted post
#17560
25 Aug 2024 02:37 UTC
Post a reply
Log in to reply.