NativeScript / NativeScript/nativescript-cli

tns test <platform> include coverage?

未关闭
#2,772 23 条评论 8 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

feature reproducible unit testing
主要语言
JavaScript
星标
1.1k
派生
204
平均合并
1 天 9 小时
30 天内合并 PR
8

描述

From @NickIliev on June 20, 2016 11:31

From @NickIliev on June 20, 2016 10:56

From @georgeedwards on June 17, 2016 12:46

Feature Request:

Can the tns test <platform> command include coverage reporting as part of it's output? Karma-Coverage seems to be quite a nice way of doing this. To add support for Typescript, adding in remap-istanbul looks to be the most straight forward solution.

Copied from original issue: NativeScript/NativeScript#2333

Copied from original issue: NativeScript/nativescript-cli#1865

Copied from original issue: NativeScript/nativescript-unit-test-runner#12

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

调研方向

tns test <platform> 命令入口开始,跟踪其测试输出的组装方式。审查提议的 Karma-Coverage 和 remap-istanbul 集成,然后验证该命令会报告受支持的 JavaScript 和 TypeScript 测试的覆盖率。命令输出中包含覆盖率报告即表示完成。

由索引模型根据 Issue 内容生成。

评估

技术栈
javascript, typescript
领域
cli, testing-qa
Issue 类型
功能
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。