You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/coverlet.console/Program.cs
+14-4
Original file line number
Diff line number
Diff line change
@@ -49,6 +49,7 @@ static int Main(string[] args)
49
49
vardoesNotReturnAttributes=newOption<string[]>("--does-not-return-attribute","Attributes that mark methods that do not return"){Arity=ArgumentArity.ZeroOrMore,AllowMultipleArgumentsPerToken=true};
50
50
varexcludeAssembliesWithoutSources=newOption<string>("--exclude-assemblies-without-sources","Specifies behaviour of heuristic to ignore assemblies with missing source documents."){Arity=ArgumentArity.ZeroOrOne};
51
51
varsourceMappingFile=newOption<string>("--source-mapping-file","Specifies the path to a SourceRootsMappings file."){Arity=ArgumentArity.ZeroOrOne};
52
+
varunloadCoverletFromModulesOnly=newOption<bool>("---only-unload-modules","Specifies Whether or not coverlet will only unload after unit tests are finished and skip coverage calculation"){Arity=ArgumentArity.ZeroOrOne};
_mockLogger.Verify(l =>l.LogVerbose(It.Is<string>(v =>v.Equals($"Module at {Path.Combine(directory.FullName,Path.GetFileName(module))} is unloaded."))),Times.Once);
0 commit comments