XiHan.Framework.Testing
5.0.0-preview.1
Prefix Reserved
This is a prerelease version of XiHan.Framework.Testing.
There is a newer prerelease version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package XiHan.Framework.Testing --version 5.0.0-preview.1
NuGet\Install-Package XiHan.Framework.Testing -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.Testing" 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.Testing" Version="5.0.0-preview.1" />
<PackageReference Include="XiHan.Framework.Testing" />
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.Testing --version 5.0.0-preview.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: XiHan.Framework.Testing, 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.Testing@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.Testing&version=5.0.0-preview.1&prerelease
#tool nuget:?package=XiHan.Framework.Testing&version=5.0.0-preview.1&prerelease
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
XiHan.Framework.Testing
测试基座(工具链)。供框架自身与使用者的测试项目引用。
内容
| 类型 | 用途 |
|---|---|
TestHost |
在内存里装配并启动一个应用:自建服务集合与配置,InvokeAsync 直接走管道,DisposeAsync 逆序停止 |
StubFeature |
可注入配置、启动、停止行为并记录事件的特性桩 |
TestManifests |
用能力 ID 文本快速构造清单 |
TestInvocationContext |
不依赖宿主的调用上下文 |
依赖方向
依赖 XiHan.Framework.Kernel 与 Microsoft.Extensions.DependencyInjection、Microsoft.Extensions.Configuration 实现包。不被任何正式包引用。
状态
P1:可用。一致性向量回放工具随协议适配器(P3)补充。
| Product | Versions 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.
-
net10.0
- Microsoft.Extensions.Configuration (>= 10.0.14)
- Microsoft.Extensions.Configuration.Abstractions (>= 10.0.14)
- Microsoft.Extensions.DependencyInjection (>= 10.0.14)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 10.0.14)
- Microsoft.Extensions.Diagnostics.Abstractions (>= 10.0.14)
- Microsoft.Extensions.Hosting.Abstractions (>= 10.0.14)
- Microsoft.Extensions.Logging.Abstractions (>= 10.0.14)
- Microsoft.Extensions.Options (>= 10.0.14)
- System.Threading.RateLimiting (>= 10.0.14)
- XiHan.Framework.Kernel (>= 5.0.0-preview.1)
NuGet packages (3)
Showing the top 3 NuGet packages that depend on XiHan.Framework.Testing:
| Package | Downloads |
|---|---|
|
XiHan.Framework.Localization.Conformance
曦寒框架本地化一致性测试套件 |
|
|
XiHan.Framework.Messaging.Conformance
曦寒框架消息一致性测试套件 |
|
|
XiHan.Framework.Persistence.Conformance
曦寒框架持久化一致性测试套件 |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 5.0.0-preview.2 | 55 | 11/6/2026 |
| 5.0.0-preview.1 | 58 | 11/4/2026 |