0

I have been tasked with determining coverage of my suite of Webdriver scripts. Essentially, what percentage of code do my automated scripts exercise?

Are there any tools that can be deployed that would highlight code snippets that were accessed as the automated scripts ran?

I can also potentially use the results for assessing gaps in the automated suite.

asked Dec 8, 2015 at 22:05

1 Answer 1

2

Have a look at JaCoCo, specifically the section on Session Import and Export. JaCoCo is an Eclipse plug-in. It's primary use case is to instrument code and show coverage within the IDE, which will highlight code snippets that were accessed. You can instrument your code, run your automated suite, and then import the execution data into Eclipse to view the executed code using the Session Import mentioned above.

Other tools that can accomplish this include Cobertura and EMMA.

answered Dec 8, 2015 at 23:37

Comments

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

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.