XUnit for Testing Validation rules

first post: goldytech wrote: As per the documentation there are extension methods available for ...

latest post: JeremyS wrote: Hi The test helpers are not specific to nunit. They can be used wi...

Specify a validator type, rather than a validator instance, in Collection ValidatorExtensions?

first post: jnpwly wrote: Howdy! Context: I am using FV in a WebAPI2 project, and using Nin...

latest post: JeremyS wrote: Hi Jon The simplest way to do this would be to write an extension ...

Integration with MVC6 - is it usable today?

first post: drazen_dotlic wrote: Hi, we're starting a greenfield project using MVC6 and having a lo...

latest post: drazen_dotlic wrote: Indeed! I almost started writing how you should get involved but th...

Testing Validators with collections

first post: NickLocke wrote: Loving the ShouldNotHaveValidationErrorFor and ShouldHaveValidation...

latest post: JeremyS wrote: Hi, This isn't supported - ShouldHaveValidationErrorFor is basical...

Add rule at runtime

first post: Martin_Andersen wrote: I am using fluentvalidation with wpf and have for many years. All ...

latest post: JeremyS wrote: You can either call RuleFor again, or use AddRule (RuleFor uses int...

Method parameter validation

first post: MoonStorm wrote: Any reason why there is nothing in the library to give me a hand w...

latest post: sameer_kumar wrote: I like to vote for this feature too! That would make your library u...

Index (zero based) must be greater than or equal to zero and less than the size of the argument list.

first post: Phil_UK wrote: Hi, I am trying to use WithMessage with placeholders. But keep onge...

latest post: JeremyS wrote: FluentValidation uses a named placeholder {PropertyName} for the pr...

answered by: JeremyS wrote: You are only using a single custom argument for the message, so you...

Validate FormCollection in fluent

first post: pramodthakur wrote: Hi, I am using fluent with model then it works for me. But i am f...

latest post: JeremyS wrote: Hi I wouldn't use FluentValidation for this - it's not the right t...

RuleSets with ValidateAndThrow

first post: NickLocke wrote: Hi, Using ValidateAndThrow is great as it keeps my code to a sing...

latest post: NickLocke wrote: Brilliant! Thanks for the prompt response Jeremy. Works like a ...

OR - Property can either be null or if not, then it must be URL

first post: PandaWood wrote: Hi, Just about all of my properties require conditional logic in t...

latest post: PandaWood wrote: Right, thanks very much... that's quite neat, I can go with that ;-)