简体   繁体   中英

Code Coverage for UI Functional Testing on Angular JS application

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.

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM