microsoft / UnitTestBoilerplateGenerator

An extension for Visual Studio that generates a unit test boilerplate from a given class, setting up mocks for all dependencies. Supports NUnit, Visual Studio Test, Moq and SimpleStubs.
MIT License
158 stars 51 forks source link

Feature Request: Support Rhino Mocks #13

Closed phoenix-iv closed 6 years ago

phoenix-iv commented 7 years ago

I'd like to add support for Rhino Mocks. I would be willing to implement it.

RandomEngy commented 7 years ago

Sounds great to me. A few places of interest:

MockFramework.cs: Where to add the new mock framework enum value FindMockFramework in Utilities.cs: detecting what mock framework a project has MockFrameworkAbstraction.cs: Controls which using statements are inserted into the file to reference the mock framework. You'll want to make another subdirectory under DefaultTemplates and name it the same as the enum value, the files in it should be set as Embedded Resource

RandomEngy commented 6 years ago

I added support for it in 1.6.2.