0.1.5 • Published 7 years ago
gulp-dotcover-runner v0.1.5
gulp-dotcover-runner
gulp runner for JetBrains' dotCover. Work in progress, but does work...
Installation
npm install --save-dev gulp-dotcover-runner
Usage
var gulp = require('gulp'),
dotcover = require('gulp-dotcover-runner');
gulp.task('test', function () {
return gulp
.src([ '**/*.Test.dll' ], { read: false })
.pipe(dotcover({
executable: "./tools/dotCover/dotCover.exe",
teamcity: true,
target: {
executable: "./tools/xunit/xunit.console.exe",
workingDirectory: ".",
arguments: {
nologo: true,
output: "tests.xml",
},
includeFilter: [
"module=*",
"type=*",
"function=*"
],
excludeFilter: [
"Some.Assembly.To.Ignore",
"function=*InvestigatoryTest"
],
attributeFilters: [
"System.Diagnostics.CodeAnalysis.ExcludeFromCodeCoverageAttribute",
"Lindorff.Testing.ExcludeFromCodeCoverageAttribute"
],
output: "coverage.xml"
}
}));
});
To Do
- Tests!
- Support target arguments (currently just sending the assembly list)
- Support additional dotCover options
TargetExecutable
TargetArguments
TargetWorkingDir
Output
TempDir
InheritConsole
- not sure if we will expose this at allAnalyseTargetArguments
Scope
Filters
AttributeFilters
DisableDefaultFilters
SymbolSearchPaths
AllowSymbolServerAccess
ReturnTargetExitCode
ProcessFilters
LogFile
- Improve this readme