
## π’Β fixtures/external/FluentValidation.Tests.trx
**804** tests were completed in **4s** with **803** passed, **0** failed and **1** skipped.
|Test suite|Passed|Failed|Skipped|Time|
|:---|---:|---:|---:|---:|
|π’ [FluentValidation.Tests.AbstractValidatorTester](#r0s0)|35|||12ms|
|π’ [FluentValidation.Tests.AccessorCacheTests](#r0s1)|4||1|4ms|
|π’ [FluentValidation.Tests.AssemblyScannerTester](#r0s2)|2|||2ms|
|π’ [FluentValidation.Tests.CascadingFailuresTester](#r0s3)|38|||23ms|
|π’ [FluentValidation.Tests.ChainedValidationTester](#r0s4)|13|||6ms|
|π’ [FluentValidation.Tests.ChainingValidatorsTester](#r0s5)|3|||1ms|
|π’ [FluentValidation.Tests.ChildRulesTests](#r0s6)|2|||7ms|
|π’ [FluentValidation.Tests.CollectionValidatorWithParentTests](#r0s7)|16|||13ms|
|π’ [FluentValidation.Tests.ComplexValidationTester](#r0s8)|17|||26ms|
|π’ [FluentValidation.Tests.ConditionTests](#r0s9)|18|||9ms|
|π’ [FluentValidation.Tests.CreditCardValidatorTests](#r0s10)|2|||2ms|
|π’ [FluentValidation.Tests.CustomFailureActionTester](#r0s11)|3|||1ms|
|π’ [FluentValidation.Tests.CustomMessageFormatTester](#r0s12)|6|||3ms|
|π’ [FluentValidation.Tests.CustomValidatorTester](#r0s13)|10|||6ms|
|π’ [FluentValidation.Tests.DefaultValidatorExtensionTester](#r0s14)|30|||38ms|
|π’ [FluentValidation.Tests.EmailValidatorTests](#r0s15)|36|||18ms|
|π’ [FluentValidation.Tests.EmptyTester](#r0s16)|9|||5ms|
|π’ [FluentValidation.Tests.EnumValidatorTests](#r0s17)|12|||24ms|
|π’ [FluentValidation.Tests.EqualValidatorTests](#r0s18)|10|||3ms|
|π’ [FluentValidation.Tests.ExactLengthValidatorTester](#r0s19)|6|||2ms|
|π’ [FluentValidation.Tests.ExclusiveBetweenValidatorTests](#r0s20)|19|||6ms|
|π’ [FluentValidation.Tests.ExtensionTester](#r0s21)|4|||1ms|
|π’ [FluentValidation.Tests.ForEachRuleTests](#r0s22)|34|||47ms|
|π’ [FluentValidation.Tests.GreaterThanOrEqualToValidatorTester](#r0s23)|14|||5ms|
|π’ [FluentValidation.Tests.GreaterThanValidatorTester](#r0s24)|13|||4ms|
|π’ [FluentValidation.Tests.InclusiveBetweenValidatorTests](#r0s25)|18|||4ms|
|π’ [FluentValidation.Tests.InheritanceValidatorTest](#r0s26)|11|||18ms|
|π’ [FluentValidation.Tests.InlineValidatorTester](#r0s27)|1|||2ms|
|π’ [FluentValidation.Tests.LanguageManagerTests](#r0s28)|21|||28ms|
|π’ [FluentValidation.Tests.LengthValidatorTests](#r0s29)|16|||17ms|
|π’ [FluentValidation.Tests.LessThanOrEqualToValidatorTester](#r0s30)|13|||4ms|
|π’ [FluentValidation.Tests.LessThanValidatorTester](#r0s31)|16|||6ms|
|π’ [FluentValidation.Tests.LocalisedMessagesTester](#r0s32)|6|||3ms|
|π’ [FluentValidation.Tests.LocalisedNameTester](#r0s33)|2|||1ms|
|π’ [FluentValidation.Tests.MemberAccessorTests](#r0s34)|9|||5ms|
|π’ [FluentValidation.Tests.MessageFormatterTests](#r0s35)|10|||2ms|
|π’ [FluentValidation.Tests.ModelLevelValidatorTests](#r0s36)|2|||1ms|
|π’ [FluentValidation.Tests.NameResolutionPluggabilityTester](#r0s37)|3|||2ms|
|π’ [FluentValidation.Tests.NotEmptyTester](#r0s38)|10|||7ms|
|π’ [FluentValidation.Tests.NotEqualValidatorTests](#r0s39)|11|||7ms|
|π’ [FluentValidation.Tests.NotNullTester](#r0s40)|5|||1ms|
|π’ [FluentValidation.Tests.NullTester](#r0s41)|5|||2ms|
|π’ [FluentValidation.Tests.OnFailureTests](#r0s42)|10|||8ms|
|π’ [FluentValidation.Tests.PredicateValidatorTester](#r0s43)|5|||2ms|
|π’ [FluentValidation.Tests.PropertyChainTests](#r0s44)|7|||1ms|
|π’ [FluentValidation.Tests.RegularExpressionValidatorTests](#r0s45)|15|||6ms|
|π’ [FluentValidation.Tests.RuleBuilderTests](#r0s46)|29|||96ms|
|π’ [FluentValidation.Tests.RuleDependencyTests](#r0s47)|14|||3s|
|π’ [FluentValidation.Tests.RulesetTests](#r0s48)|21|||14ms|
|π’ [FluentValidation.Tests.ScalePrecisionValidatorTests](#r0s49)|6|||4ms|
|π’ [FluentValidation.Tests.SharedConditionTests](#r0s50)|42|||42ms|
|π’ [FluentValidation.Tests.StandalonePropertyValidationTester](#r0s51)|1|||0ms|
|π’ [FluentValidation.Tests.StringEnumValidatorTests](#r0s52)|10|||5ms|
|π’ [FluentValidation.Tests.TrackingCollectionTests](#r0s53)|3|||2ms|
|π’ [FluentValidation.Tests.TransformTests](#r0s54)|4|||3ms|
|π’ [FluentValidation.Tests.UserSeverityTester](#r0s55)|7|||3ms|
|π’ [FluentValidation.Tests.UserStateTester](#r0s56)|4|||3ms|
|π’ [FluentValidation.Tests.ValidateAndThrowTester](#r0s57)|14|||25ms|
|π’ [FluentValidation.Tests.ValidationResultTests](#r0s58)|8|||8ms|
|π’ [FluentValidation.Tests.ValidatorDescriptorTester](#r0s59)|5|||1ms|
|π’ [FluentValidation.Tests.ValidatorSelectorTests](#r0s60)|10|||9ms|
|π’ [FluentValidation.Tests.ValidatorTesterTester](#r0s61)|73|||74ms|
### π’Β FluentValidation.Tests.AbstractValidatorTester
```
π’ Can_replace_default_errorcode_resolver
π’ CanValidateInstancesOfType_returns_false_when_comparing_against_some_other_type
π’ CanValidateInstancesOfType_returns_true_when_comparing_against_same_type
π’ CanValidateInstancesOfType_returns_true_when_comparing_against_subclass
π’ Default_error_code_should_be_class_name
π’ OverridePropertyName_should_override_property_name
π’ OverridePropertyName_with_lambda_should_override_property_name
π’ PreValidate_bypasses_nullcheck_on_instance
π’ RuleForeach_with_null_instances
π’ Should_be_valid_when_there_are_no_failures_for_single_property
π’ Should_not_main_state
π’ Should_throw_for_non_member_expression_when_validating_single_property
π’ Should_throw_when_rule_is_null
π’ Should_validate_public_Field
π’ Should_validate_single_Field
π’ Should_validate_single_property
π’ Should_validate_single_property_where_invalid_property_as_string
π’ Should_validate_single_property_where_property_as_string
π’ Uses_named_parameters_to_validate_ruleset
π’ Validates_single_property_by_path
π’ Validates_type_when_using_non_generic_validate_overload
π’ When_the_validators_fail_then_the_errors_Should_be_accessible_via_the_errors_property
π’ When_the_validators_fail_then_validatorrunner_should_return_false
π’ When_the_Validators_pass_then_the_validatorRunner_should_return_true
π’ WhenPreValidationReturnsFalse_ResultReturnToUserImmediatly_Validate(preValidationResult: )
π’ WhenPreValidationReturnsFalse_ResultReturnToUserImmediatly_Validate(preValidationResult: AnotherInt Test Message)
π’ WhenPreValidationReturnsFalse_ResultReturnToUserImmediatly_ValidateAsync(preValidationResult: )
π’ WhenPreValidationReturnsFalse_ResultReturnToUserImmediatly_ValidateAsync(preValidationResult: AnotherInt Test Message)
π’ WhenPreValidationReturnsTrue_ValidatorsGetHit_Validate
π’ WhenPreValidationReturnsTrue_ValidatorsGetHit_ValidateAsync
π’ WithErrorCode_should_override_error_code
π’ WithMessage_and_WithErrorCode_should_override_error_message_and_error_code
π’ WithMessage_should_override_error_message
π’ WithName_should_override_field_name
π’ WithName_should_override_field_name_with_value_from_other_property
```
### π’Β FluentValidation.Tests.AccessorCacheTests
```
βͺ Benchmark
π’ Equality_comparison_check
π’ Gets_accessor
π’ Gets_member_for_nested_property
π’ Identifies_if_memberexp_acts_on_model_instance
```
### π’Β FluentValidation.Tests.AssemblyScannerTester
```
π’ Finds_validators_for_types
π’ ForEach_iterates_over_types
```
### π’Β FluentValidation.Tests.CascadingFailuresTester
```
π’ Cascade_mode_can_be_set_after_validator_instantiated
π’ Cascade_mode_can_be_set_after_validator_instantiated_async
π’ Cascade_mode_can_be_set_after_validator_instantiated_async_legacy
π’ Cascade_mode_can_be_set_after_validator_instantiated_legacy
π’ Validation_continues_on_failure
π’ Validation_continues_on_failure_async
π’ Validation_continues_on_failure_when_set_to_Stop_globally_and_overriden_at_rule_level
π’ Validation_continues_on_failure_when_set_to_Stop_globally_and_overriden_at_rule_level_async
π’ Validation_continues_on_failure_when_set_to_Stop_globally_and_overriden_at_rule_level_async_legacy
π’ Validation_continues_on_failure_when_set_to_Stop_globally_and_overriden_at_rule_level_legacy
π’ Validation_continues_on_failure_when_set_to_StopOnFirstFailure_at_validator_level_and_overriden_at_rule_level
π’ Validation_continues_on_failure_when_set_to_StopOnFirstFailure_at_validator_level_and_overriden_at_rule_level_async
π’ Validation_continues_on_failure_when_set_to_StopOnFirstFailure_at_validator_level_and_overriden_at_rule_level_async_legacy
π’ Validation_continues_on_failure_when_set_to_StopOnFirstFailure_at_validator_level_and_overriden_at_rule_level_legacy
π’ Validation_continues_to_second_validator_when_first_validator_succeeds_and_cascade_set_to_stop
π’ Validation_continues_to_second_validator_when_first_validator_succeeds_and_cascade_set_to_stop_async
π’ Validation_continues_to_second_validator_when_first_validator_succeeds_and_cascade_set_to_stop_async_legacy
π’ Validation_continues_to_second_validator_when_first_validator_succeeds_and_cascade_set_to_stop_legacy
π’ Validation_continues_when_set_to_Continue_at_validator_level
π’ Validation_continues_when_set_to_Continue_at_validator_level_async
π’ Validation_stops_on_failure_when_set_to_Continue_and_overriden_at_rule_level
π’ Validation_stops_on_failure_when_set_to_Continue_and_overriden_at_rule_level_async
π’ Validation_stops_on_failure_when_set_to_Continue_and_overriden_at_rule_level_async_legacy
π’ Validation_stops_on_failure_when_set_to_Continue_and_overriden_at_rule_level_legacy
π’ Validation_stops_on_first_failure
π’ Validation_stops_on_first_failure_async
π’ Validation_stops_on_first_failure_async_legacy
π’ Validation_stops_on_first_failure_legacy
π’ Validation_stops_on_first_Failure_when_set_to_Continue_globally_and_overriden_at_rule_level
π’ Validation_stops_on_first_Failure_when_set_to_Continue_globally_and_overriden_at_rule_level_and_async_validator_is_invoked_synchronously
π’ Validation_stops_on_first_Failure_when_set_to_Continue_globally_and_overriden_at_rule_level_and_async_validator_is_invoked_synchronously_legacy
π’ Validation_stops_on_first_Failure_when_set_to_Continue_globally_and_overriden_at_rule_level_async
π’ Validation_stops_on_first_Failure_when_set_to_Continue_globally_and_overriden_at_rule_level_async_legacy
π’ Validation_stops_on_first_Failure_when_set_to_Continue_globally_and_overriden_at_rule_level_legacy
π’ Validation_stops_on_first_failure_when_set_to_StopOnFirstFailure_at_validator_level
π’ Validation_stops_on_first_failure_when_set_to_StopOnFirstFailure_at_validator_level_async
π’ Validation_stops_on_first_failure_when_set_to_StopOnFirstFailure_at_validator_level_async_legacy
π’ Validation_stops_on_first_failure_when_set_to_StopOnFirstFailure_at_validator_level_legacy
```
### π’Β FluentValidation.Tests.ChainedValidationTester
```
π’ Can_validate_using_validator_for_base_type
π’ Chained_property_should_be_excluded
π’ Chained_validator_descriptor
π’ Chained_validator_should_not_be_invoked_on_null_property
π’ Condition_should_work_with_chained_property
π’ Explicitly_included_properties_should_be_propagated_to_nested_validators
π’ Explicitly_included_properties_should_be_propagated_to_nested_validators_using_strings
π’ Separate_validation_on_chained_property
π’ Separate_validation_on_chained_property_conditional
π’ Separate_validation_on_chained_property_valid
π’ Should_allow_normal_rules_and_chained_property_on_same_property
π’ Uses_explicit_ruleset
π’ Validates_chained_property
```
### π’Β FluentValidation.Tests.ChainingValidatorsTester
```
π’ Options_should_only_apply_to_current_validator
π’ Should_create_multiple_validators
π’ Should_execute_multiple_validators
```
### π’Β FluentValidation.Tests.ChildRulesTests
```
π’ Can_define_nested_rules_for_collection
π’ ChildRules_works_with_RuleSet
```
### π’Β FluentValidation.Tests.CollectionValidatorWithParentTests
```
π’ Async_condition_should_work_with_child_collection
π’ Can_specify_condition_for_individual_collection_elements
π’ Can_validate_collection_using_validator_for_base_type
π’ Collection_should_be_excluded
π’ Collection_should_be_explicitly_included_with_expression
π’ Collection_should_be_explicitly_included_with_string
π’ Condition_should_work_with_child_collection
π’ Creates_validator_using_context_from_property_value
π’ Should_override_property_name
π’ Should_work_with_top_level_collection_validator
π’ Should_work_with_top_level_collection_validator_and_overriden_name
π’ Skips_null_items
π’ Validates_collection
π’ Validates_collection_asynchronously
π’ Validates_collection_several_levels_deep
π’ Validates_collection_several_levels_deep_async
```
### π’Β FluentValidation.Tests.ComplexValidationTester
```
π’ Async_condition_should_work_with_complex_property
π’ Async_condition_should_work_with_complex_property_when_validator_invoked_synchronously
π’ Can_directly_validate_multiple_fields_of_same_type
π’ Can_validate_using_validator_for_base_type
π’ Complex_property_should_be_excluded
π’ Complex_validator_should_not_be_invoked_on_null_property
π’ Condition_should_work_with_complex_property
π’ Condition_should_work_with_complex_property_when_invoked_async
π’ Explicitly_included_properties_should_be_propagated_to_nested_validators
π’ Explicitly_included_properties_should_be_propagated_to_nested_validators_using_strings
π’ Multiple_rules_in_chain_with_childvalidator_shouldnt_reuse_accessor
π’ Multiple_rules_in_chain_with_childvalidator_shouldnt_reuse_accessor_async
π’ Should_allow_normal_rules_and_complex_property_on_same_property
π’ Should_override_propertyName
π’ Validates_child_validator_asynchronously
π’ Validates_child_validator_synchronously
π’ Validates_complex_property
```
### π’Β FluentValidation.Tests.ConditionTests
```
π’ Async_condition_executed_synchronosuly_with_asynchronous_collection_rule
π’ Async_condition_executed_synchronosuly_with_asynchronous_rule
π’ Async_condition_executed_synchronosuly_with_synchronous_collection_role
π’ Async_condition_executed_synchronosuly_with_synchronous_role
π’ Async_condition_is_applied_to_all_validators_in_the_chain
π’ Async_condition_is_applied_to_all_validators_in_the_chain_when_executed_synchronously
π’ Async_condition_is_applied_to_single_validator_in_the_chain_when_ApplyConditionTo_set_to_CurrentValidator
π’ Condition_is_applied_to_all_validators_in_the_chain
π’ Condition_is_applied_to_single_validator_in_the_chain_when_ApplyConditionTo_set_to_CurrentValidator
π’ Sync_condition_is_applied_to_async_validators
π’ Validation_should_fail_when_async_condition_does_not_match
π’ Validation_should_fail_when_async_condition_matches
π’ Validation_should_fail_when_condition_does_not_match
π’ Validation_should_fail_when_condition_matches
π’ Validation_should_succeed_when_async_condition_does_not_match
π’ Validation_should_succeed_when_async_condition_matches
π’ Validation_should_succeed_when_condition_does_not_match
π’ Validation_should_succeed_when_condition_matches
```
### π’Β FluentValidation.Tests.CreditCardValidatorTests
```
π’ IsValidTests
π’ When_validation_fails_the_default_error_should_be_set
```
### π’Β FluentValidation.Tests.CustomFailureActionTester
```
π’ Does_not_invoke_action_if_validation_success
π’ Invokes_custom_action_on_failure
π’ Passes_object_being_validated_to_action
```
### π’Β FluentValidation.Tests.CustomMessageFormatTester
```
π’ Replaces_propertyvalue_placeholder
π’ Replaces_propertyvalue_with_empty_string_when_null
π’ Should_format_custom_message
π’ Uses_custom_delegate_for_building_message
π’ Uses_custom_delegate_for_building_message_only_for_specific_validator
π’ Uses_property_value_in_message
```
### π’Β FluentValidation.Tests.CustomValidatorTester
```
π’ New_Custom_Returns_single_failure
π’ New_Custom_Returns_single_failure_async
π’ New_custom_uses_empty_property_name_for_model_level_rule
π’ New_Custom_When_property_name_omitted_infers_property_name
π’ New_Custom_When_property_name_omitted_infers_property_name_nested
π’ New_Custom_within_ruleset
π’ New_CustomAsync_within_ruleset
π’ Perserves_property_chain_using_custom
π’ Runs_async_rule_synchronously_when_validator_invoked_synchronously
π’ Runs_sync_rule_asynchronously_when_validator_invoked_asynchronously
```
### π’Β FluentValidation.Tests.DefaultValidatorExtensionTester
```
π’ Empty_should_create_EmptyValidator
π’ Equal_should_create_EqualValidator_with_explicit_value
π’ Equal_should_create_EqualValidator_with_lambda
π’ GreaterThan_should_create_GreaterThanValidator_with_explicit_value
π’ GreaterThan_should_create_GreaterThanValidator_with_lambda
π’ GreaterThanOrEqual_should_create_GreaterThanOrEqualValidator_with_explicit_value
π’ GreaterThanOrEqual_should_create_GreaterThanOrEqualValidator_with_lambda
π’ GreaterThanOrEqual_should_create_GreaterThanOrEqualValidator_with_lambda_with_other_Nullable
π’ Length_should_create_ExactLengthValidator
π’ Length_should_create_LengthValidator
π’ Length_should_create_MaximumLengthValidator
π’ Length_should_create_MinimumLengthValidator
π’ LessThan_should_create_LessThanValidator_with_explicit_value
π’ LessThan_should_create_LessThanValidator_with_lambda
π’ LessThanOrEqual_should_create_LessThanOrEqualValidator_with_explicit_value
π’ LessThanOrEqual_should_create_LessThanOrEqualValidator_with_lambda
π’ LessThanOrEqual_should_create_LessThanOrEqualValidator_with_lambda_with_other_Nullable
π’ Must_should_create_PredicateValidator_with_context
π’ Must_should_create_PredicateValidator_with_PropertyValidatorContext
π’ Must_should_create_PredicteValidator
π’ MustAsync_should_create_AsyncPredicateValidator_with_context
π’ MustAsync_should_create_AsyncPredicateValidator_with_PropertyValidatorContext
π’ MustAsync_should_create_AsyncPredicteValidator
π’ MustAsync_should_not_throw_InvalidCastException
π’ NotEmpty_should_create_NotEmptyValidator
π’ NotEqual_should_create_NotEqualValidator_with_explicit_value
π’ NotEqual_should_create_NotEqualValidator_with_lambda
π’ NotNull_should_create_NotNullValidator
π’ ScalePrecision_should_create_ScalePrecisionValidator
π’ ScalePrecision_should_create_ScalePrecisionValidator_with_ignore_trailing_zeros
```
### π’Β FluentValidation.Tests.EmailValidatorTests
```
π’ Fails_email_validation_aspnetcore_compatible(email: " \r \t \n")
π’ Fails_email_validation_aspnetcore_compatible(email: "")
π’ Fails_email_validation_aspnetcore_compatible(email: "@someDomain.com")
π’ Fails_email_validation_aspnetcore_compatible(email: "@someDomain@abc.com")
π’ Fails_email_validation_aspnetcore_compatible(email: "0")
π’ Fails_email_validation_aspnetcore_compatible(email: "someName")
π’ Fails_email_validation_aspnetcore_compatible(email: "someName@")
π’ Fails_email_validation_aspnetcore_compatible(email: "someName@a@b.com")
π’ Invalid_email_addressex_regex(email: "")
π’ Invalid_email_addressex_regex(email: "first.last@test..co.uk")
π’ Invalid_email_addressex_regex(email: "testperso")
π’ Invalid_email_addressex_regex(email: "thisisaverylongstringcodeplex.com")
π’ Valid_email_addresses_aspnetcore_compatible(email: "Β @someDomain.com")
π’ Valid_email_addresses_aspnetcore_compatible(email: "!#$%&'*+-/=?^_`|~@someDomain.com")
π’ Valid_email_addresses_aspnetcore_compatible(email: "\"firstName.lastName\"@someDomain.com")
π’ Valid_email_addresses_aspnetcore_compatible(email: "1234@someDomain.com")
π’ Valid_email_addresses_aspnetcore_compatible(email: "firstName.lastName@someDomain.com")
π’ Valid_email_addresses_aspnetcore_compatible(email: "someName@1234.com")
π’ Valid_email_addresses_aspnetcore_compatible(email: "someName@some_domain.com")
π’ Valid_email_addresses_aspnetcore_compatible(email: "someName@some~domain.com")
π’ Valid_email_addresses_aspnetcore_compatible(email: "someName@someDomain.com")
π’ Valid_email_addresses_aspnetcore_compatible(email: "someName@someDomainοΏ―.com")
π’ Valid_email_addresses_aspnetcore_compatible(email: null)
π’ Valid_email_addresses_regex(email: "__somename@example.com")
π’ Valid_email_addresses_regex(email: "!def!xyz%abc@example.com")
π’ Valid_email_addresses_regex(email: "\"Abc@def\"@example.com")
π’ Valid_email_addresses_regex(email: "\"Abc\\@def\"@example.com")
π’ Valid_email_addresses_regex(email: "\"Fred Bloggs\"@example.com")
π’ Valid_email_addresses_regex(email: "\"Joe\\Blow\"@example.com")
π’ Valid_email_addresses_regex(email: "$A12345@example.com")
π’ Valid_email_addresses_regex(email: "customer/department=shipping@example.com")
π’ Valid_email_addresses_regex(email: "first.last@test.co.uk")
π’ Valid_email_addresses_regex(email: "testperson@gmail.com")
π’ Valid_email_addresses_regex(email: "TestPerson@gmail.com")
π’ Valid_email_addresses_regex(email: "testperson+label@gmail.com")
π’ Valid_email_addresses_regex(email: null)
```
### π’Β FluentValidation.Tests.EmptyTester
```
π’ Passes_for_ienumerable_that_doesnt_implement_ICollection
π’ Passes_when_collection_empty
π’ When_there_is_a_value_then_the_validator_should_fail
π’ When_validation_fails_error_should_be_set
π’ When_value_is_Default_for_type_validator_should_pass_datetime
π’ When_value_is_Default_for_type_validator_should_pass_int
π’ When_value_is_empty_string_validator_should_pass
π’ When_value_is_null_validator_should_pass
π’ When_value_is_whitespace_validation_should_pass
```
### π’Β FluentValidation.Tests.EnumValidatorTests
```
π’ Flags_enum_invalid_when_using_outofrange_negative_value
π’ Flags_enum_invalid_when_using_outofrange_positive_value
π’ Flags_enum_valid_when_using_bitwise_value
π’ Flags_enum_validates_correctly_when_using_zero_value
π’ Flags_enum_with_overlapping_flags_valid_when_using_bitwise_value
π’ IsValidTests
π’ Nullable_enum_invalid_when_bad_value_specified
π’ Nullable_enum_valid_when_property_value_is_null
π’ Nullable_enum_valid_when_value_specified
π’ When_the_enum_is_initialized_with_invalid_value_then_the_validator_should_fail
π’ When_the_enum_is_not_initialized_with_valid_value_then_the_validator_should_fail
π’ When_validation_fails_the_default_error_should_be_set
```
### π’Β FluentValidation.Tests.EqualValidatorTests
```
π’ Comparison_property_uses_custom_resolver
π’ Should_store_comparison_type
π’ Should_store_property_to_compare
π’ Should_succeed_on_case_insensitive_comparison
π’ Should_succeed_on_case_insensitive_comparison_using_expression
π’ Should_use_ordinal_comparison_by_default
π’ Validates_against_property
π’ When_the_objects_are_equal_validation_should_succeed
π’ When_the_objects_are_not_equal_validation_should_fail
π’ When_validation_fails_the_error_should_be_set
```
### π’Β FluentValidation.Tests.ExactLengthValidatorTester
```
π’ Min_and_max_properties_should_be_set
π’ When_exact_length_rule_failes_error_should_have_exact_length_error_errorcode
π’ When_the_text_is_an_exact_length_the_validator_should_pass
π’ When_the_text_length_is_larger_the_validator_should_fail
π’ When_the_text_length_is_smaller_the_validator_should_fail
π’ When_the_validator_fails_the_error_message_should_be_set
```
### π’Β FluentValidation.Tests.ExclusiveBetweenValidatorTests
```
π’ To_and_from_properties_should_be_set
π’ To_and_from_properties_should_be_set_for_dates
π’ To_and_from_properties_should_be_set_for_strings
π’ Validates_with_nullable_when_property_is_null
π’ Validates_with_nullable_when_property_not_null
π’ When_the_text_is_larger_than_the_range_then_the_validator_should_fail
π’ When_the_text_is_larger_than_the_range_then_the_validator_should_fail_for_strings
π’ When_the_to_is_smaller_than_the_from_then_the_validator_should_throw
π’ When_the_to_is_smaller_than_the_from_then_the_validator_should_throw_for_strings
π’ When_the_validator_fails_the_error_message_should_be_set
π’ When_the_validator_fails_the_error_message_should_be_set_for_strings
π’ When_the_value_is_between_the_range_specified_then_the_validator_should_pass
π’ When_the_value_is_between_the_range_specified_then_the_validator_should_pass_for_strings
π’ When_the_value_is_exactly_the_size_of_the_lower_bound_then_the_validator_should_fail
π’ When_the_value_is_exactly_the_size_of_the_lower_bound_then_the_validator_should_fail_for_strings
π’ When_the_value_is_exactly_the_size_of_the_upper_bound_then_the_validator_should_fail
π’ When_the_value_is_exactly_the_size_of_the_upper_bound_then_the_validator_should_fail_for_strings
π’ When_the_value_is_smaller_than_the_range_then_the_validator_should_fail
π’ When_the_value_is_smaller_than_the_range_then_the_validator_should_fail_for_strings
```
### π’Β FluentValidation.Tests.ExtensionTester
```
π’ Should_extract_member_from_member_expression
π’ Should_return_null_for_non_member_expressions
π’ Should_split_pascal_cased_member_name
π’ SplitPascalCase_should_return_null_when_input_is_null
```
### π’Β FluentValidation.Tests.ForEachRuleTests
```
π’ Async_condition_should_work_with_child_collection
π’ Can_access_colletion_index
π’ Can_access_colletion_index_async
π’ Can_access_parent_index
π’ Can_access_parent_index_async
π’ Can_specify_condition_for_individual_collection_elements
π’ Can_use_cascade_with_RuleForEach
π’ Can_validate_collection_using_validator_for_base_type
π’ Collection_should_be_excluded
π’ Collection_should_be_explicitly_included_with_expression
π’ Collection_should_be_explicitly_included_with_string
π’ Condition_should_work_with_child_collection
π’ Correctly_gets_collection_indices
π’ Correctly_gets_collection_indices_async
π’ Executes_rule_for_each_item_in_collection
π’ Executes_rule_for_each_item_in_collection_async
π’ Nested_collection_for_null_property_should_not_throw_null_reference
π’ Nested_conditions_Rule_For
π’ Nested_conditions_Rule_For_Each
π’ Overrides_indexer
π’ Overrides_indexer_async
π’ Regular_rules_can_drop_into_RuleForEach
π’ RuleForEach_async_RunsTasksSynchronously
π’ Should_not_scramble_property_name_when_using_collection_validators_several_levels_deep
π’ Should_not_scramble_property_name_when_using_collection_validators_several_levels_deep_with_ValidateAsync
π’ Should_override_property_name
π’ Skips_null_items
π’ Top_level_collection
π’ Uses_useful_error_message_when_used_on_non_property
π’ Validates_child_validator_asynchronously
π’ Validates_child_validator_synchronously
π’ Validates_collection
π’ When_runs_outside_RuleForEach_loop
π’ When_runs_outside_RuleForEach_loop_async
```
### π’Β FluentValidation.Tests.GreaterThanOrEqualToValidatorTester
```
π’ Comparison_property_uses_custom_resolver
π’ Comparison_type
π’ Should_fail_when_less_than_input
π’ Should_localize_value
π’ Should_set_default_error_when_validation_fails
π’ Should_succeed_when_equal_to_input
π’ Should_succeed_when_greater_than_input
π’ Validates_nullable_with_nullable_property
π’ Validates_with_nullable_property
π’ Validates_with_nullable_when_property_is_null
π’ Validates_with_nullable_when_property_is_null_cross_property
π’ Validates_with_nullable_when_property_not_null
π’ Validates_with_nullable_when_property_not_null_cross_property
π’ Validates_with_property
```
### π’Β FluentValidation.Tests.GreaterThanValidatorTester
```
π’ Comparison_property_uses_custom_resolver
π’ Comparison_Type
π’ Should_fail_when_equal_to_input
π’ Should_fail_when_less_than_input
π’ Should_set_default_error_when_validation_fails
π’ Should_succeed_when_greater_than_input
π’ Validates_nullable_with_nullable_property
π’ Validates_with_nullable_property
π’ Validates_with_nullable_when_property_is_null
π’ Validates_with_nullable_when_property_is_null_cross_property
π’ Validates_with_nullable_when_property_not_null
π’ Validates_with_nullable_when_property_not_null_cross_property
π’ Validates_with_property
```
### π’Β FluentValidation.Tests.InclusiveBetweenValidatorTests
```
π’ To_and_from_properties_should_be_set
π’ To_and_from_properties_should_be_set_for_strings
π’ Validates_with_nullable_when_property_is_null
π’ Validates_with_nullable_when_property_not_null
π’ When_the_text_is_larger_than_the_range_then_the_validator_should_fail
π’ When_the_text_is_larger_than_the_range_then_the_validator_should_fail_for_strings
π’ When_the_to_is_smaller_than_the_from_then_the_validator_should_throw
π’ When_the_to_is_smaller_than_the_from_then_the_validator_should_throw_for_strings
π’ When_the_validator_fails_the_error_message_should_be_set
π’ When_the_validator_fails_the_error_message_should_be_set_for_strings
π’ When_the_value_is_between_the_range_specified_then_the_validator_should_pass
π’ When_the_value_is_between_the_range_specified_then_the_validator_should_pass_for_strings
π’ When_the_value_is_exactly_the_size_of_the_lower_bound_then_the_validator_should_pass
π’ When_the_value_is_exactly_the_size_of_the_lower_bound_then_the_validator_should_pass_for_strings
π’ When_the_value_is_exactly_the_size_of_the_upper_bound_then_the_validator_should_pass
π’ When_the_value_is_exactly_the_size_of_the_upper_bound_then_the_validator_should_pass_for_strings
π’ When_the_value_is_smaller_than_the_range_then_the_validator_should_fail
π’ When_the_value_is_smaller_than_the_range_then_the_validator_should_fail_for_strings
```
### π’Β FluentValidation.Tests.InheritanceValidatorTest
```
π’ Can_use_custom_subclass_with_nongeneric_overload
π’ Validates_collection
π’ Validates_collection_async
π’ Validates_inheritance_async
π’ Validates_inheritance_hierarchy
π’ Validates_ruleset
π’ Validates_ruleset_async
π’ Validates_with_callback
π’ Validates_with_callback_accepting_derived
π’ Validates_with_callback_accepting_derived_async
π’ Validates_with_callback_async
```
### π’Β FluentValidation.Tests.InlineValidatorTester
```
π’ Uses_inline_validator_to_build_rules
```
### π’Β FluentValidation.Tests.LanguageManagerTests
```
π’ All_languages_should_be_loaded
π’ All_localizations_have_same_parameters_as_English
π’ Always_use_specific_language
π’ Always_use_specific_language_with_string_source
π’ Can_replace_message
π’ Can_replace_message_without_overriding_all_languages
π’ Disables_localization
π’ Falls_back_to_default_localization_key_when_error_code_key_not_found
π’ Falls_back_to_english_when_culture_not_registered
π’ Falls_back_to_english_when_translation_missing
π’ Falls_back_to_parent_culture
π’ Gets_translation_for_bosnian_latin_culture(cultureName: "bs-Latn-BA")
π’ Gets_translation_for_bosnian_latin_culture(cultureName: "bs-Latn")
π’ Gets_translation_for_bosnian_latin_culture(cultureName: "bs")
π’ Gets_translation_for_croatian_culture
π’ Gets_translation_for_culture
π’ Gets_translation_for_serbian_culture(cultureName: "sr-Latn-RS")
π’ Gets_translation_for_serbian_culture(cultureName: "sr-Latn")
π’ Gets_translation_for_serbian_culture(cultureName: "sr")
π’ Gets_translation_for_specific_culture
π’ Uses_error_code_as_localization_key
```
### π’Β FluentValidation.Tests.LengthValidatorTests
```
π’ Min_and_max_properties_should_be_set
π’ When_input_is_null_then_the_validator_should_pass
π’ When_the_max_is_smaller_than_the_min_then_the_validator_should_throw
π’ When_the_maxlength_validator_fails_the_error_message_should_be_set
π’ When_the_minlength_validator_fails_the_error_message_should_be_set
π’ When_the_text_is_between_the_lambda_range_specified_then_the_validator_should_pass
π’ When_the_text_is_between_the_range_specified_then_the_validator_should_pass
π’ When_the_text_is_exactly_the_size_of_the_lambda_lower_bound_then_the_validator_should_pass
π’ When_the_text_is_exactly_the_size_of_the_lambda_upper_bound_then_the_validator_should_pass
π’ When_the_text_is_exactly_the_size_of_the_lower_bound_then_the_validator_should_pass
π’ When_the_text_is_exactly_the_size_of_the_upper_bound_then_the_validator_should_pass
π’ When_the_text_is_larger_than_the_lambda_range_then_the_validator_should_fail
π’ When_the_text_is_larger_than_the_range_then_the_validator_should_fail
π’ When_the_text_is_smaller_than_the_lambda_range_then_the_validator_should_fail
π’ When_the_text_is_smaller_than_the_range_then_the_validator_should_fail
π’ When_the_validator_fails_the_error_message_should_be_set
```
### π’Β FluentValidation.Tests.LessThanOrEqualToValidatorTester
```
π’ Comparison_property_uses_custom_resolver
π’ Comparison_type
π’ Should_fail_when_greater_than_input
π’ Should_set_default_error_when_validation_fails
π’ Should_succeed_when_equal_to_input
π’ Should_succeed_when_less_than_input
π’ Validates_nullable_with_nullable_property
π’ Validates_with_nullable_property
π’ Validates_with_nullable_when_property_is_null
π’ Validates_with_nullable_when_property_is_null_cross_property
π’ Validates_with_nullable_when_property_not_null
π’ Validates_with_nullable_when_property_not_null_cross_property
π’ Validates_with_property
```
### π’Β FluentValidation.Tests.LessThanValidatorTester
```
π’ Comparison_property_uses_custom_resolver
π’ Comparison_type
π’ Extracts_property_from_constant_using_expression
π’ Extracts_property_from_expression
π’ Should_fail_when_equal_to_input
π’ Should_fail_when_greater_than_input
π’ Should_set_default_validation_message_when_validation_fails
π’ Should_succeed_when_less_than_input
π’ Should_throw_when_value_to_compare_is_null
π’ Validates_against_property
π’ Validates_nullable_with_nullable_property
π’ Validates_with_nullable_property
π’ Validates_with_nullable_when_property_is_null
π’ Validates_with_nullable_when_property_not_null
π’ Validates_with_nullable_when_property_not_null_cross_property
π’ Validates_with_nullable_when_property_null_cross_property
```
### π’Β FluentValidation.Tests.LocalisedMessagesTester
```
π’ Correctly_assigns_default_localized_error_message
π’ Does_not_throw_InvalidCastException_when_using_RuleForEach
π’ Formats_string_with_placeholders
π’ Formats_string_with_placeholders_when_you_cant_edit_the_string
π’ Uses_func_to_get_message
π’ Uses_string_format_with_property_value
```
### π’Β FluentValidation.Tests.LocalisedNameTester
```
π’ Uses_localized_name
π’ Uses_localized_name_expression
```
### π’Β FluentValidation.Tests.MemberAccessorTests
```
π’ ComplexPropertyGet
π’ ComplexPropertySet
π’ Equality
π’ ImplicitCast
π’ Name
π’ SimpleFieldGet
π’ SimpleFieldSet
π’ SimplePropertyGet
π’ SimplePropertySet
```
### π’Β FluentValidation.Tests.MessageFormatterTests
```
π’ Adds_argument_and_custom_arguments
π’ Adds_formatted_argument_and_custom_arguments
π’ Adds_formatted_argument_and_formatted_custom_arguments
π’ Adds_PropertyName_to_message
π’ Adds_value_to_message
π’ Format_property_value
π’ Should_ignore_unknown_numbered_parameters
π’ Should_ignore_unknown_parameters
π’ Understands_date_formats
π’ Understands_numeric_formats
```
### π’Β FluentValidation.Tests.ModelLevelValidatorTests
```
π’ Can_use_child_validator_at_model_level
π’ Validates_at_model_level
```
### π’Β FluentValidation.Tests.NameResolutionPluggabilityTester
```
π’ Resolves_nested_properties
π’ ShouldHaveValidationError_Should_support_custom_propertynameresolver
π’ Uses_custom_property_name
```
### π’Β FluentValidation.Tests.NotEmptyTester
```
π’ Fails_for_array
π’ Fails_for_ienumerable_that_doesnt_implement_ICollection
π’ Fails_when_collection_empty
π’ When_there_is_a_value_then_the_validator_should_pass
π’ When_validation_fails_error_should_be_set
π’ When_value_is_Default_for_type_validator_should_fail_datetime
π’ When_value_is_Default_for_type_validator_should_fail_int
π’ When_value_is_empty_string_validator_should_fail
π’ When_value_is_null_validator_should_fail
π’ When_value_is_whitespace_validation_should_fail
```
### π’Β FluentValidation.Tests.NotEqualValidatorTests
```
π’ Comparison_property_uses_custom_resolver
π’ Should_handle_custom_value_types_correctly
π’ Should_not_be_valid_for_case_insensitve_comparison
π’ Should_not_be_valid_for_case_insensitve_comparison_with_expression
π’ Should_store_comparison_type
π’ Should_store_property_to_compare
π’ Should_use_ordinal_comparison_by_default
π’ Validates_across_properties
π’ When_the_objects_are_equal_then_the_validator_should_fail
π’ When_the_objects_are_not_equal_then_the_validator_should_pass
π’ When_the_validator_fails_the_error_message_should_be_set
```
### π’Β FluentValidation.Tests.NotNullTester
```
π’ Fails_when_nullable_value_type_is_null
π’ Not_null_validator_should_not_crash_with_non_nullable_value_type
π’ NotNullValidator_should_fail_if_value_is_null
π’ NotNullValidator_should_pass_if_value_has_value
π’ When_the_validator_fails_the_error_message_should_be_set
```
### π’Β FluentValidation.Tests.NullTester
```
π’ Not_null_validator_should_not_crash_with_non_nullable_value_type
π’ NullValidator_should_fail_if_value_has_value
π’ NullValidator_should_pass_if_value_is_null
π’ Passes_when_nullable_value_type_is_null
π’ When_the_validator_passes_the_error_message_should_be_set
```
### π’Β FluentValidation.Tests.OnFailureTests
```
π’ OnFailure_called_for_each_failed_rule
π’ OnFailure_called_for_each_failed_rule_asyncAsync
π’ Should_be_able_to_access_error_message_in_OnFailure
π’ ShouldHaveChildValidator_should_be_true
π’ ShouldHaveChildValidator_works_with_Include
π’ WhenAsyncWithOnFailure_should_invoke_condition_on_async_inner_validator
π’ WhenAsyncWithOnFailure_should_invoke_condition_on_inner_validator
π’ WhenAsyncWithOnFailure_should_invoke_condition_on_inner_validator_invoked_synchronously
π’ WhenWithOnFailure_should_invoke_condition_on_async_inner_validator
π’ WhenWithOnFailure_should_invoke_condition_on_inner_validator
```
### π’Β FluentValidation.Tests.PredicateValidatorTester
```
π’ Should_fail_when_predicate_returns_false
π’ Should_succeed_when_predicate_returns_true
π’ Should_throw_when_predicate_is_null
π’ When_validation_fails_metadata_should_be_set_on_failure
π’ When_validation_fails_the_default_error_should_be_set
```
### π’Β FluentValidation.Tests.PropertyChainTests
```
π’ AddIndexer_throws_when_nothing_added
π’ Calling_ToString_should_construct_string_representation_of_chain
π’ Calling_ToString_should_construct_string_representation_of_chain_with_indexers
π’ Creates_from_expression
π’ Should_be_subchain
π’ Should_ignore_blanks
π’ Should_not_be_subchain
```
### π’Β FluentValidation.Tests.RegularExpressionValidatorTests
```
π’ Can_access_expression_in_message
π’ Can_access_expression_in_message_lambda
π’ Can_access_expression_in_message_lambda_regex
π’ Uses_lazily_loaded_expression
π’ Uses_lazily_loaded_expression_with_options
π’ Uses_regex_object
π’ When_the_text_does_not_match_the_lambda_regex_regular_expression_then_the_validator_should_fail
π’ When_the_text_does_not_match_the_lambda_regular_expression_then_the_validator_should_fail
π’ When_the_text_does_not_match_the_regular_expression_then_the_validator_should_fail
π’ When_the_text_is_empty_then_the_validator_should_fail
π’ When_the_text_is_null_then_the_validator_should_pass
π’ When_the_text_matches_the_lambda_regex_regular_expression_then_the_validator_should_pass
π’ When_the_text_matches_the_lambda_regular_expression_then_the_validator_should_pass
π’ When_the_text_matches_the_regular_expression_then_the_validator_should_pass
π’ When_validation_fails_the_default_error_should_be_set
```
### π’Β FluentValidation.Tests.RuleBuilderTests
```
π’ Adding_a_validator_should_return_builder
π’ Adding_a_validator_should_store_validator
π’ Calling_validate_should_delegate_to_underlying_validator
π’ Calling_ValidateAsync_should_delegate_to_underlying_async_validator
π’ Calling_ValidateAsync_should_delegate_to_underlying_sync_validator
π’ Conditional_child_validator_should_register_with_validator_type_not_property
π’ Nullable_object_with_async_condition_should_not_throw
π’ Nullable_object_with_condition_should_not_throw
π’ Property_should_return_null_when_it_is_not_a_property_being_validated
π’ Property_should_return_property_being_validated
π’ PropertyDescription_should_return_custom_property_name
π’ PropertyDescription_should_return_property_name_split
π’ Result_should_use_custom_property_name_when_no_property_name_can_be_determined
π’ Rule_for_a_non_memberexpression_should_not_generate_property_name
π’ Should_build_property_name
π’ Should_compile_expression
π’ Should_set_custom_error
π’ Should_set_custom_property_name
π’ Should_throw_if_message_is_null
π’ Should_throw_if_overriding_validator_is_null
π’ Should_throw_if_overriding_validator_provider_is_null
π’ Should_throw_if_property_name_is_null
π’ Should_throw_if_validator_is_null
π’ Should_throw_when_async_inverse_predicate_is_null
π’ Should_throw_when_async_predicate_is_null
π’ Should_throw_when_context_predicate_is_null
π’ Should_throw_when_inverse_context_predicate_is_null
π’ Should_throw_when_inverse_predicate_is_null
π’ Should_throw_when_predicate_is_null
```
### π’Β FluentValidation.Tests.RuleDependencyTests
```
π’ Async_inside_dependent_rules
π’ Async_inside_dependent_rules_when_parent_rule_not_async
π’ Dependent_rules_inside_ruleset
π’ Dependent_rules_inside_when
π’ Does_not_invoke_dependent_rule_if_parent_rule_does_not_pass
π’ Invokes_dependent_rule_if_parent_rule_passes
π’ Nested_dependent_rules
π’ Nested_dependent_rules_inside_ruleset
π’ Nested_dependent_rules_inside_ruleset_inside_method
π’ Nested_dependent_rules_inside_ruleset_no_result_when_second_level_fails
π’ Nested_dependent_rules_inside_ruleset_no_result_when_top_level_fails
π’ TestAsyncWithDependentRules_AsyncEntry
π’ TestAsyncWithDependentRules_SyncEntry
π’ Treats_root_level_RuleFor_call_as_dependent_rule_if_user_forgets_to_use_DependentRulesBuilder
```
### π’Β FluentValidation.Tests.RulesetTests
```
π’ Applies_multiple_rulesets_to_rule
π’ Combines_rulesets_and_explicit_properties
π’ Combines_rulesets_and_explicit_properties_async
π’ Executes_all_rules
π’ Executes_in_rule_in_default_and_none
π’ Executes_in_rule_in_ruleset_and_default
π’ Executes_multiple_rulesets
π’ Executes_rules_in_default_ruleset_and_specific_ruleset
π’ Executes_rules_in_specified_ruleset
π’ Executes_rules_not_specified_in_ruleset
π’ Includes_all_rulesets
π’ Includes_all_rulesets_async
π’ Includes_combination_of_rulesets
π’ Includes_combination_of_rulesets_async
π’ Ruleset_cascades_to_child_collection_validator
π’ Ruleset_cascades_to_child_validator
π’ Ruleset_selection_should_cascade_downwards_with_when_setting_child_validator_using_include_statement
π’ Ruleset_selection_should_cascade_downwards_with_when_setting_child_validator_using_include_statement_with_lambda
π’ Ruleset_selection_should_not_cascade_downwards_when_set_on_property
π’ Trims_spaces
π’ WithMessage_works_inside_rulesets
```
### π’Β FluentValidation.Tests.ScalePrecisionValidatorTests
```
π’ Scale_precision_should_be_valid
π’ Scale_precision_should_be_valid_when_ignoring_trailing_zeroes
π’ Scale_precision_should_be_valid_when_they_are_equal
π’ Scale_precision_should_not_be_valid
π’ Scale_precision_should_not_be_valid_when_ignoring_trailing_zeroes
π’ Scale_precision_should_not_be_valid_when_they_are_equal
```
### π’Β FluentValidation.Tests.SharedConditionTests
```
π’ Async_condition_can_be_used_inside_ruleset
π’ Condition_can_be_used_inside_ruleset
π’ Does_not_execute_custom_Rule_when_async_condition_false
π’ Does_not_execute_custom_Rule_when_condition_false
π’ Does_not_execute_customasync_Rule_when_async_condition_false
π’ Does_not_execute_customasync_Rule_when_condition_false
π’ Doesnt_throw_NullReferenceException_when_instance_not_null
π’ Doesnt_throw_NullReferenceException_when_instance_not_null_async
π’ Executes_custom_rule_when_async_condition_true
π’ Executes_custom_rule_when_condition_true
π’ Executes_customasync_rule_when_async_condition_true
π’ Executes_customasync_rule_when_condition_true
π’ Nested_async_conditions_with_Custom_rule
π’ Nested_async_conditions_with_CustomAsync_rule
π’ Nested_conditions_with_Custom_rule
π’ Nested_conditions_with_CustomAsync_rule
π’ Outer_async_Unless_clause_will_trump_an_inner_Unless_clause_when_inner_fails_but_the_outer_is_satisfied
π’ Outer_Unless_clause_will_trump_an_inner_Unless_clause_when_inner_fails_but_the_outer_is_satisfied
π’ Rules_invoke_when_inverse_shared_async_condition_matches
π’ Rules_invoke_when_inverse_shared_condition_matches
π’ Rules_not_invoked_when_inverse_shared_async_condition_does_not_match
π’ Rules_not_invoked_when_inverse_shared_condition_does_not_match
π’ RuleSet_can_be_used_inside_async_condition
π’ RuleSet_can_be_used_inside_condition
π’ Runs_otherwise_conditions_for_UnlessAsync
π’ Runs_otherwise_conditions_for_When
π’ Runs_otherwise_conditions_for_WhenAsync
π’ Runs_otherwise_conditons_for_Unless
π’ Shared_async_When_is_applied_to_groupd_rules_when_initial_predicate_is_true_and_all_individual_rules_are_satisfied
π’ Shared_async_When_is_applied_to_grouped_rules_when_initial_predicate_is_true
π’ Shared_async_When_is_not_applied_to_grouped_rules_when_initial_predicate_is_false
π’ Shared_async_When_respects_the_smaller_scope_of_a_inner_Unless_when_the_inner_Unless_predicate_fails
π’ Shared_async_When_respects_the_smaller_scope_of_an_inner_Unless_when_the_inner_Unless_predicate_is_satisfied
π’ Shared_When_is_applied_to_groupd_rules_when_initial_predicate_is_true_and_all_individual_rules_are_satisfied
π’ Shared_When_is_applied_to_grouped_rules_when_initial_predicate_is_true
π’ Shared_When_is_not_applied_to_grouped_rules_when_initial_predicate_is_false
π’ Shared_When_respects_the_smaller_scope_of_a_inner_Unless_when_the_inner_Unless_predicate_fails
π’ Shared_When_respects_the_smaller_scope_of_an_inner_Unless_when_the_inner_Unless_predicate_is_satisfied
π’ When_async_condition_executed_for_each_instance_of_RuleForEach_condition_should_not_be_cached
π’ When_condition_executed_for_each_instance_of_RuleForEach_condition_should_not_be_cached
π’ When_condition_only_executed_once
π’ WhenAsync_condition_only_executed_once
```
### π’Β FluentValidation.Tests.StandalonePropertyValidationTester
```
π’ Should_validate_property_value_without_instance
```
### π’Β FluentValidation.Tests.StringEnumValidatorTests
```
π’ IsValidTests_CaseInsensitive_CaseCorrect
π’ IsValidTests_CaseInsensitive_CaseIncorrect
π’ IsValidTests_CaseSensitive_CaseCorrect
π’ IsValidTests_CaseSensitive_CaseIncorrect
π’ When_enumType_is_not_an_enum_it_should_throw
π’ When_enumType_is_null_it_should_throw
π’ When_the_property_is_initialized_with_empty_string_then_the_validator_should_fail
π’ When_the_property_is_initialized_with_invalid_string_then_the_validator_should_fail
π’ When_the_property_is_initialized_with_null_then_the_validator_should_be_valid
π’ When_validation_fails_the_default_error_should_be_set
```
### π’Β FluentValidation.Tests.TrackingCollectionTests
```
π’ Add_AddsItem
π’ Should_not_raise_event_once_handler_detached
π’ When_Item_Added_Raises_ItemAdded
```
### π’Β FluentValidation.Tests.TransformTests
```
π’ Transforms_collection_element
π’ Transforms_collection_element_async
π’ Transforms_property_value
π’ Transforms_property_value_to_another_type
```
### π’Β FluentValidation.Tests.UserSeverityTester
```
π’ Can_Provide_conditional_severity
π’ Can_Provide_severity_for_item_in_collection
π’ Correctly_provides_object_being_validated
π’ Defaults_user_severity_to_error
π’ Should_use_last_supplied_severity
π’ Stores_user_severity_against_validation_failure
π’ Throws_when_provider_is_null
```
### π’Β FluentValidation.Tests.UserStateTester
```
π’ Can_Provide_state_for_item_in_collection
π’ Correctly_provides_object_being_validated
π’ Stores_user_state_against_validation_failure
π’ Throws_when_provider_is_null
```
### π’Β FluentValidation.Tests.ValidateAndThrowTester
```
π’ Does_not_throw_when_valid
π’ Does_not_throw_when_valid_and_a_ruleset
π’ Does_not_throw_when_valid_and_a_ruleset_async
π’ Does_not_throw_when_valid_async
π’ Only_root_validator_throws
π’ Populates_errors
π’ Serializes_exception
π’ Throws_exception
π’ Throws_exception_async
π’ Throws_exception_with_a_ruleset
π’ Throws_exception_with_a_ruleset_async
π’ ToString_provides_error_details
π’ ValidationException_provides_correct_message_when_appendDefaultMessage_false
π’ ValidationException_provides_correct_message_when_appendDefaultMessage_true
```
### π’Β FluentValidation.Tests.ValidationResultTests
```
π’ Can_serialize_failure
π’ Can_serialize_result
π’ Should_add_errors
π’ Should_be_valid_when_there_are_no_errors
π’ Should_not_be_valid_when_there_are_errors
π’ ToString_return_empty_string_when_there_is_no_error
π’ ToString_return_error_messages_with_given_separator
π’ ToString_return_error_messages_with_newline_as_separator
```
### π’Β FluentValidation.Tests.ValidatorDescriptorTester
```
π’ Does_not_throw_when_rule_declared_without_property
π’ Gets_validators_for_property
π’ GetValidatorsForMember_and_GetRulesForMember_can_both_retrieve_for_model_level_rule
π’ Returns_empty_collection_for_property_with_no_validators
π’ Should_retrieve_name_given_to_it_pass_property_as_string
```
### π’Β FluentValidation.Tests.ValidatorSelectorTests
```
π’ Can_use_property_with_include
π’ Does_not_validate_other_property
π’ Does_not_validate_other_property_using_expression
π’ Executes_correct_rule_when_using_property_with_include
π’ Executes_correct_rule_when_using_property_with_include_async
π’ Includes_nested_property
π’ Includes_nested_property_using_expression
π’ MemberNameValidatorSelector_returns_true_when_property_name_matches
π’ Validates_nullable_property_with_overriden_name_when_selected
π’ Validates_property_using_expression
```
### π’Β FluentValidation.Tests.ValidatorTesterTester
```
π’ Allows_only_one_failure_to_match
π’ Can_use_indexer_in_string_message
π’ Can_use_indexer_in_string_message_inverse
π’ Expected_error_code_check
π’ Expected_message_argument_check
π’ Expected_message_check
π’ Expected_severity_check
π’ Expected_state_check
π’ Matches_any_failure
π’ Matches_model_level_rule
π’ Model_level_check_fails_if_no_model_level_failures
π’ ShouldHaveChildValidator_should_not_throw_when_property_Does_have_child_validator
π’ ShouldHaveChildValidator_should_not_throw_when_property_Does_have_child_validator_and_expecting_a_basetype
π’ ShouldHaveChildValidator_should_not_throw_when_property_has_collection_validators
π’ ShouldHaveChildValidator_should_throw_when_property_has_a_different_child_validator
π’ ShouldHaveChildValidator_should_work_with_DependentRules
π’ ShouldHaveChildvalidator_throws_when_collection_property_Does_not_have_child_validator
π’ ShouldHaveChildValidator_throws_when_property_does_not_have_child_validator
π’ ShouldHaveChildValidator_works_on_model_level_rules
π’ ShouldHaveValidationError_async
π’ ShouldHaveValidationError_async_throws
π’ ShouldHaveValidationError_model_async
π’ ShouldHaveValidationError_model_async_throws
π’ ShouldHaveValidationError_preconstructed_object_does_not_throw_for_unwritable_property
π’ ShouldHaveValidationError_should_not_throw_when_there_are_errors_with_preconstructed_object
π’ ShouldHaveValidationError_should_not_throw_when_there_are_validation_errors
π’ ShouldHaveValidationError_should_not_throw_when_there_are_validation_errors__WhenAsyn_is_used(age: 42, cardNumber: "")
π’ ShouldHaveValidationError_should_not_throw_when_there_are_validation_errors__WhenAsyn_is_used(age: 42, cardNumber: null)
π’ ShouldHaveValidationError_should_not_throw_when_there_are_validation_errors_ruleforeach
π’ ShouldHaveValidationError_Should_support_nested_properties
π’ ShouldHaveValidationError_Should_throw_when_there_are_no_validation_errors
π’ ShouldHaveValidationError_should_throw_when_there_are_no_validation_errors_with_preconstructed_object
π’ ShouldHaveValidationError_should_throw_when_there_are_not_validation_errors__WhenAsyn_Is_Used(age: 17, cardNumber: "")
π’ ShouldHaveValidationError_should_throw_when_there_are_not_validation_errors__WhenAsyn_Is_Used(age: 17, cardNumber: "cardNumber")
π’ ShouldHaveValidationError_should_throw_when_there_are_not_validation_errors__WhenAsyn_Is_Used(age: 17, cardNumber: null)
π’ ShouldHaveValidationError_should_throw_when_there_are_not_validation_errors__WhenAsyn_Is_Used(age: 42, cardNumber: "cardNumber")
π’ ShouldHaveValidationError_should_throw_when_there_are_not_validation_errors_ruleforeach
π’ ShouldHaveValidationError_with_an_unmatched_rule_and_a_single_error_should_throw_an_exception
π’ ShouldHaveValidationError_with_an_unmatched_rule_and_multiple_errors_should_throw_an_exception
π’ ShouldHaveValidationErrorFor_takes_account_of_rulesets
π’ ShouldHaveValidationErrorFor_takes_account_of_rulesets_fluent_approach
π’ ShouldNotHaveValidationError_async
π’ ShouldNotHaveValidationError_async_model_throws
π’ ShouldNotHaveValidationError_async_throws
π’ ShouldNotHaveValidationError_model_async
π’ ShouldNotHaveValidationError_should_correctly_handle_explicitly_providing_object_to_validate
π’ ShouldNotHaveValidationError_should_correctly_handle_explicitly_providing_object_to_validate_and_other_property_fails_validation
π’ ShouldNotHaveValidationError_should_have_validation_error_details_when_thrown_ruleforeach
π’ ShouldNotHaveValidationError_should_not_throw_when_there_are_no_errors
π’ ShouldNotHAveValidationError_should_not_throw_When_there_are_no_errors_with_preconstructed_object
π’ ShouldNotHaveValidationError_should_not_throw_when_there_are_not_validation_errors_ruleforeach
π’ ShouldNotHaveValidationError_Should_support_nested_properties
π’ ShouldNotHaveValidationError_should_throw_when_there_are_errors
π’ ShouldNotHaveValidationError_should_throw_when_there_are_errors_with_preconstructed_object
π’ ShouldNotHaveValidationError_should_throw_when_there_are_not_validation_errors__WhenAsyn_is_used(age: 17, cardNumber: "")
π’ ShouldNotHaveValidationError_should_throw_when_there_are_not_validation_errors__WhenAsyn_is_used(age: 17, cardNumber: "cardNumber")
π’ ShouldNotHaveValidationError_should_throw_when_there_are_not_validation_errors__WhenAsyn_is_used(age: 17, cardNumber: null)
π’ ShouldNotHaveValidationError_should_throw_when_there_are_not_validation_errors__WhenAsyn_is_used(age: 42, cardNumber: "cardNumber")
π’ ShouldNotHaveValidationError_should_throw_when_there_are_validation_errors__WhenAsyn_is_used(age: 42, cardNumber: "")
π’ ShouldNotHaveValidationError_should_throw_when_there_are_validation_errors__WhenAsyn_is_used(age: 42, cardNumber: null)
π’ ShouldNotHaveValidationError_should_throw_when_there_are_validation_errors_ruleforeach
π’ Tests_nested_property
π’ Tests_nested_property_reverse
π’ Tests_nested_property_using_obsolete_method
π’ TestValidate_runs_async
π’ TestValidate_runs_async_throws
π’ Unexpected_error_code_check
π’ Unexpected_message_check(withoutErrMsg: "bar", errMessages: ["bar"])
π’ Unexpected_message_check(withoutErrMsg: "bar", errMessages: ["foo", "bar"])
π’ Unexpected_message_check(withoutErrMsg: "bar", errMessages: ["foo"])
π’ Unexpected_message_check(withoutErrMsg: "bar", errMessages: [])
π’ Unexpected_severity_check
π’ Unexpected_state_check
```