- .NET SDK 8.0
- Visual Studio
There are three projects in this solution.
- ContentValidation: Libraries container all verify rule.
- ContentValidation.Test: Contains all test cases for content validation automation.
- DataSource: Provide test data for test cases (all pages need to be verified on Microsoft Learn website)
This quickstart will show you how to use this tool to fetch all test data and run test cases.
- Clone this repo and open it with Visual Studio.
- Update the
DataSource/appsettings.jsonfile and replace its content with the service and package you need to test. Currently, only one package can be run at a time, and there are strict requirements for the input of ServiceName and PackageName. Please update according to the official SDK name. For example:
{
"ServiceName": "App Configuration",
"PackageName": "azure-appconfiguration"
}- Run
DataSourcewith Visual Studio. After that, you will see anappsettings.jsonfile generated underContentValidation.Testfolder - Switch to
ContentValidation.Testproject and execute test cases.