XiHan.Framework.Configuration.Conformance 5.0.0-preview.1

Prefix Reserved
This is a prerelease version of XiHan.Framework.Configuration.Conformance.
There is a newer prerelease version of this package available.
See the version list below for details.
dotnet add package XiHan.Framework.Configuration.Conformance --version 5.0.0-preview.1
                    
NuGet\Install-Package XiHan.Framework.Configuration.Conformance -Version 5.0.0-preview.1
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="XiHan.Framework.Configuration.Conformance" Version="5.0.0-preview.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="XiHan.Framework.Configuration.Conformance" Version="5.0.0-preview.1" />
                    
Directory.Packages.props
<PackageReference Include="XiHan.Framework.Configuration.Conformance" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add XiHan.Framework.Configuration.Conformance --version 5.0.0-preview.1
                    
#r "nuget: XiHan.Framework.Configuration.Conformance, 5.0.0-preview.1"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package XiHan.Framework.Configuration.Conformance@5.0.0-preview.1
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=XiHan.Framework.Configuration.Conformance&version=5.0.0-preview.1&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=XiHan.Framework.Configuration.Conformance&version=5.0.0-preview.1&prerelease
                    
Install as a Cake Tool

XiHan.Framework.Configuration.Conformance

配置一致性套件(RFC-0014)。Provider 的测试项目继承抽象类并实现夹具工厂,全部用例随之执行:

  • RemoteConfigurationClientConformance:实现 CreateFixtureAsync() 返回 RemoteConfigurationFixture(被测 IRemoteConfigurationClient 与向远端发布文档的 PublishAsync);用例覆盖取整份文档与版本、已知版本未变化返回无值(长轮询实现须在 UnchangedWait 内返回)、再次发布后版本变化、未知命名空间 NOTFOUND。
  • SecretStoreConformance:实现 CreateFixtureAsync() 返回 SecretStoreFixture(被测 ISecretStore 与写入密钥的 PutAsync);用例覆盖批量逐项有序返回、重复项、缺失 NOTFOUND、空集合、遮蔽的文本表示、覆盖后读新值。

依赖方向

依赖 XiHan.Framework.Configuration.Abstractions 与 xunit 的断言与扩展核心包。

状态

P3:可用。

Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
5.0.0-preview.2 49 11/6/2026
5.0.0-preview.1 48 11/4/2026