How to UnitTest System.Web.Mvc.Html.InputExtensions.TextBoxFor ? From googling around it seems that TextBoxFor is not UnitTestable, one can not mock the required parameters and get a result back, what is a unit testable alternative ?
The overuse static functions in MVC goes everything OO. The base units of in MVC are not even unit testable, or is there a another way to test?
Aucun commentaire:
Enregistrer un commentaire