I am currently studying and defining a code coverage tool for my company and have so far tried NCover (Bolt and Desktop), DotCover and NCrunch. All the tools I've tried so far are well suited for measuring / highlighting code coverage in code called directly by unit tests, but any code called through CSLA (DataPortal_Fetch, for example) is never recognized as being covered. Since most of our code base is in these functions, I believe that the tools will be next to useless for most of what I need to check and measure.
Now my question is, how can I get code coverage results for CSLA code? Does anyone know a tool that will work with these types of calls, or some parameters / extensions that I can use to get coverage results using the tools that I use?
The project is encoded in C # and I am using Visual Studio 2013 Professional, CSLA 3.8 and .NET 4.0. I have the latest versions of NCover Bolt and DotCover (both in the trial version) and the latest OpenCover that I could find.
Thanks in advance!
source
share