搜索插件、代码仓与 APP 分类

插件详情v1.0.5

cobertura

将 LCOV 转换为 Cobertura 格式;这是 GitHub 和 Azure DevOps 的理想格式。

macOSWindowsLinux
近 30 天下载
3.8万
喜欢数
6
Pub 分数
130

安装插件

flutter pub add cobertura

插件介绍

基于插件公开信息、社区数据与项目使用情况整理的选型参考。

cobertura 包将 LCOV 覆盖率报告转换为 Cobertura 格式,使测试覆盖率数据更容易与 GitHub 和 Azure DevOps 等 CI/CD 平台集成。该工具专为需要在不同环境中实现标准化覆盖率报告的开发者设计。它支持多种操作系统,并可通过 Flutter 的 pub 包管理器轻松添加。通过将原始 LCOV 输出转换为广泛接受的 XML 结构,确保与流行的代码覆盖率工具兼容。

适合场景

  • 将测试覆盖率与 GitHub Actions 集成
  • 为 Azure DevOps 生成报告
  • 跨团队标准化覆盖率数据
  • 在CI流水线中自动化覆盖率报告
  • 将 LCOV 转换为 Cobertura XML 格式

主要特点

  • LCOV 到 Cobertura 转换
  • 支持 macOS、Windows 和 Linux
  • 简单的 CLI 集成
  • 与 GitHub 和 Azure DevOps 兼容
  • 轻量且快速处理

适合对象

  • 使用 CI/CD 流水线的 Flutter 开发人员
  • 需要标准化覆盖率报告的团队
  • 针对 GitHub 或 Azure DevOps 的项目
  • 处理 LCOV 文件的开发者
  • 测试自动化工程师

使用建议

  • 需要 LCOV 输入文件
  • 本身不是覆盖率收集器
  • 依赖外部覆盖工具
  • 仅限格式转换
  • 无GUI界面

原始 README

以下为关联源码仓库的 README 原文快照,最新内容请访问源码仓库。

Pub-Dev

build deploy

This project is a mono-repo (of sorts) for the packages I've created along the way. Most of them were born for my own needs; some may be just amusing ideas I had once.

If you find them useful, enjoy them!

:)

Packages

Geography

¯\(ツ)/¯ Because I'm too cheap to pay for a geocoding service, and I only needed City-level resolution.

Cobertura

Easy way to quickly view LCOV results in the console (with or without colorization) and convert LCOV to Cobertura for GitHub and Azure.

dynamo_json

Just like json_annotations and json_serializable but specifically for DynamoDB JSON.

所属分类

依赖

依赖清单 8 项

源码仓库

使用此插件的项目