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

Add Support for the Pose framework #47

Open JokeOfAllTrades opened 5 years ago

JokeOfAllTrades commented 5 years ago

Installed product versions

Description

Could we have support for the Pose framework?
https://github.com/tonerdo/pose

RandomEngy commented 5 years ago

I think that would be difficult to work into the extension. This library seems focused on taking concrete types and faking up replacements for methods and properties on them.

The boilerplate extension works by creating mock objects from the interface types present on the constructor. It doesn't know how to create an arbitrary concrete object.

Though maybe you have an example of what you'd want a generated file to look like?