Skip to content

Commit

Permalink
Add the extra OpenCover registration options (for skipping COM regist…
Browse files Browse the repository at this point in the history
…ration and loading by relative file path instead)
  • Loading branch information
SteveGilham committed Aug 26, 2019
1 parent b1c3ea3 commit 52f8194
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/app/Fake.DotNet.Testing.OpenCover/OpenCover.fs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@ module Fake.DotNet.Testing.OpenCover
| Manual
| Register
| RegisterUser

| Path32
| Path64

type HideSkippedType =
| All
| File
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit 52f8194

Please sign in to comment.