Hooks into the Cake wrapper for dotnet test
and injects the AltCover command line arguments as specified.
Equivalent to
settings.ArgumentCustomization = altcover.Concatenate(settings.ArgumentCustomization);
context.DotNetTest(project.FullPath, settings);
This method is a [CakeMethodAlias]
extension method on ICakeContext
, and [CakeAliasCategory("Test")]
.
public static void DotNetTest(this ICakeContext context, FilePath project,
DotNetCoreTestSettings testSettings, CoverageSettings coverageSettings)
parameter | description |
---|---|
context | The Cake build script ICakeContext ; a this parameter |
project | The project to test as a FilePath |
testSettings | The DotNetTestSettings for the test |
coverageSettings | The CoverageSettings for the test instrumentation |