-
-
Notifications
You must be signed in to change notification settings - Fork 767
Closed
Labels
Milestone
Description
What You Are Seeing?
The current way to use OpenCover is like this:
OpenCover(cc => {
cc.NUnit3(tests); // or whatever...
},
coverFile,
new OpenCoverSettings{
Register = "some-path-to-dll"
}
);
register is represented as a string. Actually register could be empty (admin-mode) the word "user" (user-mode) or the path to a dll.
Additionally it seems impossible not to use the register-setting
What is Expected?
I propose something like this:
OpenCover(cc => {
cc.NUnit3(tests); // or whatever...
},
coverFile,
new OpenCoverSettings()
.WithoutRegister() // to omit the register-settings
.WithRegisterAdmin() // -register
.WithRegisterUser() // -register:user <-- this is the default
.WithRegisterDll(someFilePath) // -register:path-to-dll
);
Reactions are currently unavailable