1

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.

1
  • Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Commented Jun 16, 2022 at 8:32

1 Answer 1

0

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.

Sign up to request clarification or add additional context in comments.

2 Comments

No it won't solve our purpose. We are instrumenting our js files and then trying to measure coverage by running UI tests using testcomplete. But it didnt work with istanbul.
@ShravanKumar - if TestComplete runs on the Istanbul instrumented version of the application, are metrics not generated by Istanbul? If need be, you could add "istanbul appname" as a Tested Application in TestComplete, and execute it within your TestComplete tests.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.