You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Much like we have the "EditableElementsForAllImmediateProperties()" in the ScreenFixture, I'm thinking that we enable a mechanism to do the same modifications through extension methods.
Example:
[FormatAs("There are no validation messages")]publicboolNoMessages(){return!validation.AllMessages().Any();}[FormatAs("The validation summary is not shown")]publicboolNoSummary(){returnvalidation.Hidden;}publicIGrammarVerifyValidationMessages(){returnVerifySetOf(()=>validation.AllMessages()).Titled("Verify the validation messages").MatchOn(x =>x.Property, x =>x.Message);}
That's WAY too common to write in every fixture. It'd be nice to be able to inject the grammars via an extension method you can call in the fixture ctor. Maybe?
The text was updated successfully, but these errors were encountered:
Putting this here before I forget:
Much like we have the "EditableElementsForAllImmediateProperties()" in the ScreenFixture, I'm thinking that we enable a mechanism to do the same modifications through extension methods.
Example:
That's WAY too common to write in every fixture. It'd be nice to be able to inject the grammars via an extension method you can call in the fixture ctor. Maybe?
The text was updated successfully, but these errors were encountered: