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

TODO - replace with a variable #27

Closed Lechus closed 6 years ago

Lechus commented 6 years ago

Installed product versions

Description

COnstructor - parameter "TODO" instead of integer

Steps to recreate

Class with constructor with integer Ctor(Interface service, int ala)

Current behavior

putting "TODO" instead of a typed variable, like integer

Expected behavior

variable of correct type

RandomEngy commented 6 years ago

That's by design. I wanted to make sure that it forced you to put something sensical in there, rather than throw in a default value that might be wrong.