mirror of
https://github.com/GeWuYou/GFramework.git
synced 2026-05-07 00:39:00 +08:00
- 创建了 GFramework.Game.Tests 测试项目配置文件 - 添加了 Microsoft.NET.Test.Sdk、Moq、NUnit 等测试依赖包 - 配置了项目引用包括 GFramework.Game、GFramework.Core 和源代码生成器 - 实现了自动生成配置消费者集成测试验证功能 - 添加了怪物配置模式定义用于端到端测试验证 - 创建了源代码生成器目标文件实现自动化配置收集 - 验证了消费者项目自动拾取 schema 并生成绑定的功能
25 lines
482 B
JSON
25 lines
482 B
JSON
{
|
|
"title": "Monster Config",
|
|
"description": "Defines one monster entry for the generated consumer integration test.",
|
|
"type": "object",
|
|
"required": [
|
|
"id",
|
|
"name",
|
|
"hp"
|
|
],
|
|
"properties": {
|
|
"id": {
|
|
"type": "integer",
|
|
"description": "Monster identifier."
|
|
},
|
|
"name": {
|
|
"type": "string",
|
|
"description": "Monster display name."
|
|
},
|
|
"hp": {
|
|
"type": "integer",
|
|
"description": "Monster base health."
|
|
}
|
|
}
|
|
}
|