Creastoff / Moqstitute

Converts C# test projects using Moq to NSubstitute
MIT License
3 stars 0 forks source link

Usage

This will overwrite all the current files. Ensure you are able to restore the original copies, e.g. use source control, take a manual backup

For execution, do either of the following: 1) Build and run with first arg being the root directory of your .cs files. 2) Assign the baseDir variable your root directory.

Credit

Thanks to Alberto Monteiro for providing the pattern matching to achieve this.