Clone this wiki locally
OpenCover is a new attempt to build a code coverage utility to try and address some of the issues I have encountered whilst maintaining PartCover.
The main aims of this project are
- Provide 32 and 64 bit support for .NET2 and .NET4 - I think it is highly unlikely if anyone needs .NET 1/1.1 support.
- Better generics handling, though PartCover has been upgraded to handle .NET4 and generics (in both .NET2 and 4) it isn't pretty. I am hoping that by starting again I can resolve these issues and roll some of the changes back into PartCover.
- Simpler coverage handling - PartCover also does IL coverage when there are no PDBs to supply sequence information but I have never been convinced of the need for this, it makes the code more complex.
- Better test support - I'd like to produce coverage by test but my ultimate aim is to use the information to tell me what tests currently cover the code I am working on i.e. would it be possible to run those tests first and then the rest of the tests to provide faster feedback during development. NOTE. Continuous Integration servers could also use this information to provide faster feedback to users during checkins.
Usage is a good place to start to see the syntax of OpenCover - it is currently a command line tool. For good reports then I recommend ReportGenerator more details of which can be found on this page Reports.
I intend to use 'agile' practices to develop this project and I encourage anyone who wishes to be involved to also learn these techniques.