Hi folks, I was trying out the MbUnit Frameworks these days in an ASP.NET MVC 2 application and I wondering how to make an unit test for my models, that uses data annotations for the validation.
I saw that there's isn't an assertion to check if some property is "Required" for example. And I end up doing by the common way, but I was wondering if these things can be added on the framework (I'm not asking for nothing, just a suggestion) because we need to write some considerable amount of code to check the attribute from a property (even if its possible to create a separated method, like a helper to do that). Well, if I the framework provides something to check this kind of thing, please show me, otherwise the suggestion is here! Thanks! -- You received this message because you are subscribed to the Google Groups "MbUnit.User" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/mbunituser?hl=en.
