I am the fresher in this field and doing the Black-box testing. Can anybody please tell me what is the purpose of the coverage tools and how and where can I implement it while doing the testing?
Re: What is the purpose of the code coverage tools?
The purpose of code coverage tools is to ensure that all code has been tested. The specifics change with the tools and the options that are used. As stated by Darrell and Peter a White Box testing tool.
As a "fresher" to testing you should know that the INTERNET and especially search engines are your friend - I did a quick search and found this definition for one of the available code coverage tools. To find out what is available and more about these use Google and search around there is a lot of information available.
"jcoverage/gpl is a free code-coverage tool for Java programmers that allows them to measure the effectiveness of their Java tests and how much of a software program's code has been tested. jcoverage/gpl identifies how many times each line of code in your application has been executed and you can see which parts of your software remain untested. After instrumenting your code and running your tests, a report is generated allowing you to view information coverage figures from a project level right down to the individual line of code. This process is called 'code coverage'."