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

Creating boilerplate unit testing project template #53

Closed LeoJHarris closed 4 years ago

LeoJHarris commented 4 years ago

Hi there,

Ive used the generator to generate unit testing on a previous project but forgot how to use this to setup a blank unit testing project template?

Am I imagining things or was this possible to create a blank unit testing project template because as I think I remember correctly I used this to setup a template project using NUnit and NSubstitute but cannot recall the steps.

Im not referring to simply creating the boiler plate code for a class but rather an actual project template ready to begin adding unit test files. Can you confirm if this is possible otherwise I must have setup a project manually myself.

RandomEngy commented 4 years ago

This tool never set up entire projects. You can select multiple files and generate test files for all of them, however.

Setting up a unit test project is just a few clicks, fortunately.

LeoJHarris commented 4 years ago

@RandomEngy Okay I must have been mistaken, thanks 👍