From 52f819410d3b90838aa7b3e5312b1e9944f7e8cf Mon Sep 17 00:00:00 2001 From: Steve Gilham Date: Mon, 26 Aug 2019 14:19:16 +0100 Subject: [PATCH] Add the extra OpenCover registration options (for skipping COM registration and loading by relative file path instead) --- src/app/Fake.DotNet.Testing.OpenCover/OpenCover.fs | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/app/Fake.DotNet.Testing.OpenCover/OpenCover.fs b/src/app/Fake.DotNet.Testing.OpenCover/OpenCover.fs index 766da7e345c..b02d9b7a228 100644 --- a/src/app/Fake.DotNet.Testing.OpenCover/OpenCover.fs +++ b/src/app/Fake.DotNet.Testing.OpenCover/OpenCover.fs @@ -12,7 +12,9 @@ module Fake.DotNet.Testing.OpenCover | Manual | Register | RegisterUser - + | Path32 + | Path64 + type HideSkippedType = | All | File @@ -102,7 +104,9 @@ module Fake.DotNet.Testing.OpenCover (match param.Register with | Manual -> String.Empty | Register -> printParam "register" - | RegisterUser -> printParamWithValue "register" "user") + | RegisterUser -> printParamWithValue "register" "user" + | Path32 -> printParamWithValue "register" "Path32" + | Path64 -> printParamWithValue "register" "Path64") |> StringBuilder.appendIfTrueWithoutQuotes (String.isNotNullOrEmpty param.Filter) (printParamWithValue "filter" (quote param.Filter)) |> StringBuilder.appendIfTrueWithoutQuotes param.MergeByHash (printParam "mergebyhash") |> StringBuilder.appendIfTrueWithoutQuotes (not param.ExcludeByAttribute.IsEmpty) (printParamListAsValuesWithQuote "excludebyattribute" param.ExcludeByAttribute)