https://github.com/bolorundurowb/netcover
A code coverage tool for C#
https://github.com/bolorundurowb/netcover
c-sharp code-analysis code-coverage
Last synced: about 2 months ago
JSON representation
A code coverage tool for C#
- Host: GitHub
- URL: https://github.com/bolorundurowb/netcover
- Owner: bolorundurowb
- License: gpl-3.0
- Created: 2017-01-13T15:06:20.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-03-30T22:05:13.000Z (over 9 years ago)
- Last Synced: 2025-01-26T12:26:34.434Z (over 1 year ago)
- Topics: c-sharp, code-analysis, code-coverage
- Language: C#
- Homepage:
- Size: 413 KB
- Stars: 1
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# NET Cover
[](https://travis-ci.org/bolorundurowb/NETCover)
## About
This project aims to develop a cross-platform code coverage tool for .NET languages _(starting with C#)_ that would generate coverage reports in different formats _(starting with LCOV)_ compatible with different coverage reporting services.
As at now, it works with MSBuild generated PDB files and workis going on in ernest to make it compatible with XBuild generated MDB files.
This work is a derivative created by Sergiy Sakharov, for his original work visit [https://www.codeproject.com/Articles/41722/Building-NET-Coverage-Tool](https://www.codeproject.com/Articles/41722/Building-NET-Coverage-Tool)
## Usage
```bash
coverage.exe {} [{-[:]NameFilter}] [[]]
```
_AssemblyPaths_ - file system masks for DLL/EXE files, `i.e.: "C:\Temp\Libs\NHibernate* C:\Temp\NInject\NInject.Core*"`
_Filter Types:_
> f: - exclude files by name
> s: - exclude assemblies by name (This could be useful if strong name for some assembly should be weakened, however, coverage report is redundant for it)
> t: - exclude types by full name
> m: - exclude methods by full name
> a: or nothing - exclude members by their custom attribute names
_Commands:_
> /r - If this command is selected - instrumented assemblies replace existing ones. Old assemblies are backed up along with corresponding pdb files
> /x - Path to a coverage XML file