Easiest Way to Run Subset of Tests From a Test Project
Recently, I was doing some analysis on some tests to perform some optimizations. While performing some analysis, I wanted to run only subset of tests. And while doing this activity,…
Recently, I was doing some analysis on some tests to perform some optimizations. While performing some analysis, I wanted to run only subset of tests. And while doing this activity,…
In one of the previous posts, we have seen how to add a feature flag in the in Azure App Configuration Service. In this article, we are going to use…
Business rules can be complicated and hence it becomes immensely important to automate the testing of those rules. The library, Fluent Validation, provides APIs to support the automated testing of…
In previous article, we have seen how RuleSets can be used to trigger different validations in different contexts. In this article, we are going to discuss about another pattern which…
I have been writing only about fluent validation in past few articles. There will be 2-3 articles more about fluent validation. Below is the list of all previous articles in…
In previous article, we have seen how the conditional validation logic can be added using fluent validation library. Real world applications may also need to connect to database for performing…
Many times, in real world applications, the input validation is not straight forward. Sometimes the validation rules may change depending on certain conditions. In this article, we are going to…
Many times the object has a property which allows various implementations of the same interface. Or sometimes, the collection of a given interface may have objects of different types which…
Here in this article we are going to discuss about cascade modes supported by fluent validation. There are two modes - rule level cascade mode and class level cascade mode.…
This article will explain how to register fluent validators in dependency injection containers. For demonstrating it is going to use the .NET's default dependency injection container. Registering Specific Validator Type…
In previous articles, we have discussed how to add fluent validations to the API project, we have seen how placeholders can be used and how error messages can be customized.…