What code coverage tools have you used with Symbian C++ and Maemo? What are the pros and cons of the tool you are using?
Cobertura. Cobertura is an open-source tool for measuring code coverage. It does so by instrumenting the byte code.
#1) Parasoft JTest Its report provides a good picture of code covered and thereby minimizes risks. Key Features: It is used for Java-based applications. It is a multi-tasking tool which includes Data flow analysis, Unit testing, Static analysis, runtime error detection, code coverage testing etc.
The term code coverage is used to describe how much of the source code of a program is executed while testing. There are many different metrics used for code coverage. We'll cover a few of the more useful and popular ones in the following sections.
JavaScript. Istanbul: The most famous JS tool for code coverage. Supporting unit tests, server-side functional tests, and browser tests.
On Symbian I've used BullseyeCoverage and Testwell CTC++. Cannot really describe the pros/cons of them in detail. Both got the job done, eventually. Both needed some effort with setup and integration with an automated test suite. Both contained bugs that e.g. crashed the downstream compiler with slightly broken instrumented source code.
On Maemo, since the toolchain is GCC based, I'd guess gcov would be a good starting point. Though I haven't been working on Maemo much yet and haven't done any coverage measurement there.
See SD C++ Test Coverage for a tool that has extremely low overhead and works very well in embedded environments.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With