XFE Git
XFE Studio Git
Git 首页 全局搜索
XFE 主站 文档 NuGet

XFEExtension.NetCore.XUnit

【DLL】提供方便快捷的测试,无需编写Main方法,可直接添加特性在类或方法上进行测试

公开
关注 0 Fork 0 Star 0
返回拉取请求列表

codex/xunit-4-benchmark-runner:合并 4 个提交 #1

已合并 codex/xunit-4-benchmark-runner dev
拉取请求已合并 源分支中的变更已经进入 dev。
源分支已删除

审查进度

此分支未设置最低批准数。

0 / 0

尚未指定审查人。

XFEstudio 2026-08-14 21:12

变更说明

XFEstudio/XFEExtension.NetCore.XUnit:codex/xunit-4-benchmark-runner 合并到 dev

提交记录

  • 升级测试运行器控制台输出为自适应信息卡片 (8bb3e71) — XFE工作室室长
  • 支持多语言命令行及结构优化,提升易用性 (54676ee) — XFE工作室室长
  • 重构命名空间与类型,提升结构清晰度 (dacf58b) — XFE工作室室长
  • 重构升级 XFEExtension.NetCore.XUnit 至 4.0 (8401b9f) — XFE工作室室长

提交

此拉取请求包含的提交记录。

文件变更

点击行号左侧的加号可以留下行级 Review 评论。

69 个文件 +5897 -473
Modified .github/workflows/publish-packages.yml +3 -0
Modified .github/workflows/validate.yml +22 -2
Modified README.md +53 -136
Modified README.zh-CN.md +52 -135
Modified XFEExtension.NetCore.XUnit.Analyzer/AnalyzerReleases.Shipped.md +7 -18
Modified XFEExtension.NetCore.XUnit.Analyzer/AnalyzerReleases.Unshipped.md +1 -2
Modified XFEExtension.NetCore.XUnit.Analyzer/CodeFix/XUnitCodeFixProvider.cs +47 -39
Modified XFEExtension.NetCore.XUnit.Analyzer/Diagnostics/XUnitCodeAnalyzer.cs +115 -45
Modified XFEExtension.NetCore.XUnit.Analyzer/XFEExtension.NetCore.XUnit.Analyzer.csproj +4 -3
Added XFEExtension.NetCore.XUnit.CodeFixes/XFEExtension.NetCore.XUnit.CodeFixes.csproj +16 -0
Added XFEExtension.NetCore.XUnit.Test/LegacyCompatibilityTests.cs +24 -0
Modified XFEExtension.NetCore.XUnit.Test/Program.cs +475 -6
Added XFEExtension.NetCore.XUnit.Test/ScriptedBenchmarkClock.cs +25 -0
Modified XFEExtension.NetCore.XUnit.Test/XFEExtension.NetCore.XUnit.Test.csproj +7 -4
Modified XFEExtension.NetCore.XUnit.slnx +2 -0
Added XFEExtension.NetCore.XUnit/Assertions/Assert.cs +328 -0
Added XFEExtension.NetCore.XUnit/Assertions/XFEAssertionException.cs +7 -0
Added XFEExtension.NetCore.XUnit/Attributes/AfterAllAttribute.cs +7 -0
Added XFEExtension.NetCore.XUnit/Attributes/AfterEachAttribute.cs +7 -0
Added XFEExtension.NetCore.XUnit/Attributes/ArgumentsAttribute.cs +14 -0
Added XFEExtension.NetCore.XUnit/Attributes/BeforeAllAttribute.cs +7 -0
Added XFEExtension.NetCore.XUnit/Attributes/BeforeEachAttribute.cs +7 -0
Added XFEExtension.NetCore.XUnit/Attributes/BenchmarkAttributes.cs +23 -0
Added XFEExtension.NetCore.XUnit/Attributes/BenchmarkStrategy.cs +22 -0
Added XFEExtension.NetCore.XUnit/Attributes/CategoryAttribute.cs +14 -0
Added XFEExtension.NetCore.XUnit/Attributes/CollectionAttribute.cs +14 -0
Added XFEExtension.NetCore.XUnit/Attributes/ExplicitAttribute.cs +14 -0
Added XFEExtension.NetCore.XUnit/Attributes/GlobalCleanupAttribute.cs +7 -0
Added XFEExtension.NetCore.XUnit/Attributes/GlobalSetupAttribute.cs +7 -0
Added XFEExtension.NetCore.XUnit/Attributes/IsolatedAttribute.cs +7 -0
Added XFEExtension.NetCore.XUnit/Attributes/IterationCleanupAttribute.cs +7 -0
Added XFEExtension.NetCore.XUnit/Attributes/IterationSetupAttribute.cs +7 -0
Added XFEExtension.NetCore.XUnit/Attributes/LegacyAttributes.cs +309 -0
Added XFEExtension.NetCore.XUnit/Attributes/MemberDataAttribute.cs +19 -0
Added XFEExtension.NetCore.XUnit/Attributes/NonParallelAttribute.cs +7 -0
Added XFEExtension.NetCore.XUnit/Attributes/ParamsAttribute.cs +14 -0
Added XFEExtension.NetCore.XUnit/Attributes/RetryAttribute.cs +14 -0
Added XFEExtension.NetCore.XUnit/Attributes/SkipAttribute.cs +14 -0
Added XFEExtension.NetCore.XUnit/Attributes/TestAttribute.cs +13 -0
Added XFEExtension.NetCore.XUnit/Attributes/TestCaseAttribute.cs +19 -0
Added XFEExtension.NetCore.XUnit/Attributes/TestFixtureAttribute.cs +7 -0
Added XFEExtension.NetCore.XUnit/Attributes/TimeoutAttribute.cs +14 -0
Added XFEExtension.NetCore.XUnit/Attributes/TraitAttribute.cs +20 -0
Added XFEExtension.NetCore.XUnit/Attributes/UseExtensionAttribute.cs +17 -0
Added XFEExtension.NetCore.XUnit/Benchmarking/BenchmarkConsumer.cs +15 -0
Added XFEExtension.NetCore.XUnit/Benchmarking/BenchmarkEngine.cs +197 -0
Added XFEExtension.NetCore.XUnit/Benchmarking/BenchmarkStatisticsCalculator.cs +143 -0
Added XFEExtension.NetCore.XUnit/Benchmarking/EnvironmentInspector.cs +46 -0
Added XFEExtension.NetCore.XUnit/Benchmarking/IBenchmarkClock.cs +26 -0
Added XFEExtension.NetCore.XUnit/Benchmarking/StopwatchBenchmarkClock.cs +29 -0
Added XFEExtension.NetCore.XUnit/Compatibility/XFECode.cs +184 -0
Added XFEExtension.NetCore.XUnit/Execution/AsyncLocalConsoleCapture.cs +60 -0
Added XFEExtension.NetCore.XUnit/Execution/RegressionGate.cs +47 -0
Added XFEExtension.NetCore.XUnit/Execution/TestExecutor.cs +183 -0
Added XFEExtension.NetCore.XUnit/Execution/WorkerProcess.cs +162 -0
Added XFEExtension.NetCore.XUnit/Execution/XFEConfigurationException.cs +6 -0
Added XFEExtension.NetCore.XUnit/Reporting/BuiltInReporters.cs +91 -0
Added XFEExtension.NetCore.XUnit/Reporting/ConsoleLocalizer.cs +140 -0
Added XFEExtension.NetCore.XUnit/Runtime/ConsoleLanguage.cs +25 -0
Added XFEExtension.NetCore.XUnit/Runtime/Contracts.cs +102 -0
Added XFEExtension.NetCore.XUnit/Runtime/Descriptors.cs +483 -0
Added XFEExtension.NetCore.XUnit/Runtime/Results.cs +316 -0
Added XFEExtension.NetCore.XUnit/Runtime/Settings.cs +160 -0
Modified XFEExtension.NetCore.XUnit/XFEExtension.NetCore.XUnit.csproj +10 -11
Deleted XFEExtension.NetCore.XUnit/XFE各类拓展 - Backup.NetCore.XUnit.csproj +0 -43
Added xfe.runsettings.example.json +29 -0