Quantcast
Channel: Fluent Validation for .NET
Viewing all articles
Browse latest Browse all 1917

New Post: Using ShouldHaveValidationErrorFor with SetCollectionValidator

$
0
0
Hi

ShouldHaveValidationErrorFor doesn't support SetCollectionValidator directly. The usual way I'd do is this to use ShouldHaveChildValidator to test for the presence of the child validator, and then have a separate set of tests for the child validator itself.

Jeremy

Viewing all articles
Browse latest Browse all 1917

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>