Extension to NSubstitute that provides mocking of concrete methods and statics
Перейти к файлу
Scott Bilas 1d3cd92503 Some design changes, greening and overhaul of tests
* Using new test-filesystem fixture to fully isolate dll's from the rest of the tooling - we should only have the test dll, the system(s) under test and their dependencies, and the mock types dll.
* Ensuring that the mock types dll is available to whatever we're patching, for peverify and any other tooling that can't be instructed where to find it
* Fixed messy and confusing list of assembly paths passed in to the patcher. Will do a more explicit and different way in future..probably an exclusion list or maybe a filter callback.
* Small improvements like switching to NiceIO where possible, using flags enum for options, tuning PE verification, simplifying mock type management, breaking out methods, reusing utilities, fixing bugs along the way
2018-11-07 17:22:47 +01:00
notes Temp stuff, will delete after patcher is finished 2017-10-28 15:25:10 +02:00
source Some design changes, greening and overhaul of tests 2018-11-07 17:22:47 +01:00
tests Some design changes, greening and overhaul of tests 2018-11-07 17:22:47 +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)