在Angular JS应用程序上进行UI功能测试的代码覆盖范围

发布于 2025-02-07 16:47:30 字数 158 浏览 4 评论 0原文

我们使用SmartBear TestComplete工具来自动化Angular JS应用程序。现在,我们正在寻求测量我们的UI功能测试代码覆盖范围。我们找不到这样做的方法。 我们尝试使用伊斯坦布尔,但它无效。 任何人都可以帮忙吗?

注意:如果有任何可用于目的的可用插件也可以完成这项工作。

We are using Smartbear TestComplete tool to automate our Angular JS application. Now we are looking to measure our UI functional testing code coverage. We dont find a way to do it.
We tried using istanbul but it didnt work.
Can anybody please help.

Note: If any plugin available which can serve the purpose would also do the job.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

就是爱搞怪 2025-02-14 16:47:30

跟踪端到端测试覆盖范围的典型方法是通过需求,开发任务和测试建立映射或矩阵。例如;

Requirement: Create a login page
-> Task: Develop the login page
   -> Test: User can log in
   -> Test: User can't log in with invalid credentials
   -> Test: User can log in with different personas
   -> Test: ...

通常使用项目管理或测试管理解决方案(例如JIRA + Zephyr Enterprise)来处理这一点,其中可以将测试定义和结果与要求和任务进行比较。与大多数测试自动化工具一样,TestComplete本身将无法实现这一目标,但是与管理解决方案结合使用,可以为可食用性映射提供信息。

The typical way of tracking End-to-End test coverage is to establish a mapping or matrix from requirements, through development tasks and on to testing. For example;

Requirement: Create a login page
-> Task: Develop the login page
   -> Test: User can log in
   -> Test: User can't log in with invalid credentials
   -> Test: User can log in with different personas
   -> Test: ...

This is usually handled with a project management or test management solution, for example Jira + Zephyr Enterprise, where the test definitions and outcomes can be compared against requirements and tasks. In itself, TestComplete - like most test automation tools - will be unable to deliver this, but in combination with a management solution TestComplete can contribute information towards a traceability mapping.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文