a
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
{
|
||||
"name": "containers",
|
||||
"description": "分组容器(Container)测试",
|
||||
"type": "create_architecture",
|
||||
"params": {
|
||||
"title": "容器测试",
|
||||
"components": [
|
||||
{"name": "App", "type": "frontend", "x": 120, "y": 120},
|
||||
{"name": "Service", "type": "backend", "x": 120, "y": 200}
|
||||
],
|
||||
"containers": [
|
||||
{"name": "业务层", "x": 80, "y": 80, "width": 200, "height": 200, "color": "#34d399"}
|
||||
],
|
||||
"output": "__TMP__/05_containers.svg",
|
||||
"format": "svg"
|
||||
},
|
||||
"assertions": [
|
||||
{"check": "not_empty"},
|
||||
{"check": "contains", "text": "业务层"},
|
||||
{"check": "contains_tag", "tag": "<rect", "min_count": 3}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user