Extension to NSubstitute that provides mocking of concrete methods and statics
Перейти к файлу
Scott Bilas 0b14f20deb Avoid patching signed assemblies (which causes security violation), plus some cleanup
We probably will want to reenable patching of signed assemblies in the future, but it isn't important now. To get it working, will probably either have to do one of:

* Mess around with assembly loading/resolving callbacks to bypass the security check for patched assemblies, if possible
* While patching, adjust any references to patched assemblies to make them weak (remove public key)
* Restrict this functionality to only work on runtimes we can fully control (mono, possibly dotnetcore) - last resort
2018-11-21 15:53:12 +01:00
notes Temp stuff, will delete after patcher is finished 2017-10-28 15:25:10 +02:00
source Avoid patching signed assemblies (which causes security violation), plus some cleanup 2018-11-21 15:53:12 +01:00
tests Avoid patching signed assemblies (which causes security violation), plus some cleanup 2018-11-21 15:53:12 +01:00
.editorconfig New repo 2017-10-23 18:26:06 +02:00
.gitignore New repo 2017-10-23 18:26:06 +02:00
.repoconfig New repo 2017-10-23 18:26:06 +02:00
README.md New repo 2017-10-23 18:26:06 +02:00
format.ps1 Helpful to keep things formatted in gitland (still needs a way to ignore gen'd files) 2017-10-23 19:19:06 +02:00

README.md

ABOUT THIS REPO

This is an extension to NSubstitute that provides mocking of concrete methods (non-interface, non-abstract) and statics.

Once we figure out API and workflow, we'll document it here. Currently this project is experimental.

TODO:

* Deal with warnings in all our dependencies (background: https://github.com/nsubstitute/NSubstitute/issues/310)