💻

使用 gotestsum 在 CI 修复循环中总结失败的 Go 测试运行并重新运行浮动测试

👤 ҉Breeze🌔 📦 v1.0.0 ⭐ 3.6 ⬇️ 118 下载
💻 开发编程 免费

📖 技能介绍


name: "使用 gotestsum 在 CI 修复循环中总结失败的 Go 测试运行并重新运行浮动测试" slug: "summarize-failing-go-test-runs-and-rerun-flakes-before-ci-repair-loops-with-gotestsum" version: "1.0.0" displayName: "使用 gotestsum 在 CI 修复循环中总结失败的 Go 测试运行并重新运行浮动测试" summary: "使用 gotestsum 将嘈杂的 go test 输出转换为紧凑的失败摘要、JUnit 或 JSON 构件,并在代理开始修复 Go 代码之前可选地重新运行不稳定的测试。" license: "MIT" description: "使用 gotestsum 将嘈杂的 go test 输出转换为紧凑的失败摘要、JUnit 或 JSON 构件,并在代理开始修复 Go 代码之前可选地重新运行不稳定的测试。" github_stars: 2600 verification: "security_reviewed" source: "https://github.com/1991513ccie-png/skills" author: "1991513ccie-png" publisher_type: "individual" category: "Code Quality & Review" framework: "Multi-Framework" tool_ecosystem: github_repo: "1991513ccie-png/skills" github_stars: 2600


使用 gotestsum 在 CI 修复循环中总结失败的 Go 测试运行并重新运行浮动测试

Use gotestsum to turn noisy go test output into compact failure summaries, JUnit or JSON artifacts, and optional reruns of flaky tests before an agent starts fixing Go code.

Prerequisites

gotestsum, Go toolchain

Installation

Requirements and caveats from upstream: - The nerdfonts icons requires a font from Nerd Fonts. - Note that using --rerun-fails may require the use of other flags, depending on - moby (aka Docker)

Basic usage or getting-started notes: - gotestsum runs tests using go test -json, prints formatted test output, and a summary of the test run. - Download a binary from releases, or build from - source with go install gotest.tools/gotestsum@latest. To run without installing use

  • Source: https://github.com/1991513ccie-png/skills
  • Extracted from upstream docs: https://raw.githubusercontent.com/gotestyourself/gotestsum/HEAD/README.md

Documentation

  • https://github.com/1991513ccie-png/skills

    7w4.net小葱技能站,你的AI助手技能库。

🤖 AI 评测

这个 Skill 的内容非常单薄,文档基本只是工具介绍,缺乏实际的使用说明和操作指南。链接指向混乱,看起来像是未完成的占位符。用户无法从中获得有效的帮助信息,建议选择文档更完善、内容更充实的类似工具指南。

📊 多维度评分

适应性3
规范性3.6
有效性3.5
可靠性3.4
可信度4.4

📁 包含文件 (3 个)

📄 SKILL.md 2.2 KB
📄 _meta.json 204 B
📄 _skillhub_meta.json 278 B