c++ - Method exclusion in PartCover -


i trying modify partcover source code exclude coverage method. however,it looks main logic in c++ code. since not possible step cpp code while debugging,can please guide me files need modify? thinking should rules.cpp , instrumentator.cpp...and refactoring needed in other .cpp .h , .cs files due changes made in these. if wrong, or if there other places should looking at, please let me know. other hint proceed appreciated.

thanks,


thanks reply. however, uncommenting debugbreak causing nunit-console-86.exe stop working. changed nunit version 2.5.7 match version of nunit-framework.dll inside partcover bin folder, problem still exists. idea causing this?

we have our own console app runs coverage check method wise. makes sure if new method added, or code in existing methods refactored, coverage still should @ least more our decided percentage. there methods testing cannot done whatsoever reason. those, doesn't make sense exclude entire class.

the files have mentioned best places in c++ code apply filter. assume have way of extending syntax used include , exclude filters of modules , classes.

you can debug code if uncomment debugbreak in corprofiler::initialize (when .net process runs , profiler loaded allow attach c++ debugger profiler)

may ask why need exclude specific methods? can see need exclude classes i.e. test classes , not specific methods, seems easier done if necessary ignoring results in reports.


Comments

Popular posts from this blog

linux - Using a Cron Job to check if my mod_wsgi / apache server is running and restart -

actionscript 3 - TweenLite does not work with object -

jQuery Ajax Render Fragments OR Whole Page -