Agent Skillsflet-dev/flet › run-unit-tests

run-unit-tests

GitHub

用于执行 Flet 框架 Python 部分的单元测试。通过运行指定命令在 sdk/python 目录下触发 pytest,以验证代码正确性。

.agents/skills/run-unit-tests/SKILL.md flet-dev/flet

触发场景

需要运行单元测试时 检查 Python 模块功能是否正常

安装

npx skills add flet-dev/flet --skill run-unit-tests -g -y
更多选项

非标准路径

npx skills add https://github.com/flet-dev/flet/tree/main/.agents/skills/run-unit-tests -g -y

不安装直接使用

npx skills use flet-dev/flet@run-unit-tests

指定 Agent (Claude Code)

npx skills add flet-dev/flet --skill run-unit-tests -a claude-code -g -y

安装 repo 全部 skill

npx skills add flet-dev/flet --all -g -y

预览 repo 内 skill

npx skills add flet-dev/flet --list

SKILL.md

Frontmatter
{
    "name": "run-unit-tests",
    "description": "Use when asked to run unit tests."
}

This skill is used to run unit tests of the Python part of Flet framework.

Instructions

Run the following command to run flet package unit tests:

uv run --group test pytest packages/flet/tests

The directory in that commend is relative to {root}/sdk/python.

版本历史

  • 8f74fe9 当前 2026-08-20 12:12

同 Skill 集合

.agents/skills/create-flet-control-integration-tests/SKILL.md
.agents/skills/create-flet-example-projects/SKILL.md
.agents/skills/docs-build-and-verify/SKILL.md
.agents/skills/docs-conventions/SKILL.md
.agents/skills/fix-members-short-description/SKILL.md
.agents/skills/flet-deprecation/SKILL.md
.agents/skills/imperative-to-declarative-flet/SKILL.md
.agents/skills/implement-flet-extension/SKILL.md
.agents/skills/prepare-flet-release/SKILL.md
.agents/skills/test-flet-apps-dev/SKILL.md
.agents/skills/update-flet-control-doc-gifs/SKILL.md
.agents/skills/write-changelog-entry/SKILL.md
website/.agents/skills/flet-release-announcement/SKILL.md
.agents/skills/run-integration-tests/SKILL.md

元信息

文件数
0
版本
b45d4a5
Hash
7df2e22c
收录时间
2026-08-20 12:12

首页 - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-09-09 16:07
浙ICP备14020137号-1 $访客地图$