We’re rewarding the question askers & reputations are being recalculated! Read more.
10

StackOverflow has a rather extensive post which details many of the available code-coverage solutions for C#/.Net. Content reproduced below, and all credit should go to the users of SO: NCover Seems to be very popular and looks quite good Supports statement coverage and branch coverage $658 for a Desktop License Older Beta-Versions available for free ...


3

GHDL code coverage claims it produces line coverage for VHDL, using an extension to the GCC VHDL compiler. I don't know anything about it except that this website exists.


2

Semantic Designs C and C++ test coverage tools can do this for MS source files. [There's a version that works with GCC, too.] Along with running the instrumenter on the DLL source code, you'll need to add custom logic in the dll shutdown logic to dump test coverage data (or some other place that the dll executes rarely but reliably). The docs explain how ...


2

ActiveHDL does this too. App note here: https://www.aldec.com/en/support/resources/documentation/articles/1012


1

Depending on your platform you may go the route of using the link interface. a) Your tests will import symbols. That's the used API. b) Your software will export symbols. Substract a) to get unused API. A tool simple as simple as nm would do the job then. Using the OpenSSL library on an ELF system as an example: this invocation gives you the imported ...


1

I've found out that it's possible to combine Travis CI and Codecov and run Coverage.py on Travis CI using this stucture: https://github.com/codecov/example-python/blob/master/.travis.yml This assumes that your are using the Python unittest module, other examples (for pytest and nose) can be found here: https://github.com/codecov/example-python Hope this ...


1

Semantic Designs' (my company) Test/Code Coverage Tools will collect code coverage data on an application regardless of whether it is exercised by a testing framework, by manual operation, simply during application execution, or during execution of the application as a server program if that is what it is. They do so by instrumenting the source code; you ...


1

Microsoft Visual Studio Ultimate edition includes test coverage tools. (I assume it can handle DLLs, but I have no experience with this. Just recording its existence as an alternative.)


1

Our (Semantic Designs) Java Test Coverage Tool will do this. It isn't a library; rather it is a set of tools, but I think that is what OP meant anyway. It operates by instrumenting the source code that you designate (on a class source file by class source file basis). This gives you a lot of control over what gets instrumented. It also means the test ...


1

My team and I use Typemock's Isolator. It's a unit testing framework with some nice features, one of them is code coverage. We are very satisfied with this product.


Only top voted, non community-wiki answers of a minimum length are eligible