unit testing - Possibility of getting Path Coverage by jmockit coverage tool with exclusion of desired paths -


i interested path coverage code after doing unit testing, contains lots of if-else conditions make actual number of paths around 67k there possibility jmockit coverage tool exclude if conditions considered path in code.

is there other tool can use achieve same goal ?

it looks jmockit coverage allows exclude code @ class level. see http://jmockit.googlecode.com/svn/trunk/www/tutorial/codecoverage.html. don't think there's way exclude @ lower level class.

for cobertura, see exclude methods code coverage cobertura. class level exclusions only, though.

however, note lot of people moving away cobertura because doesn't seem actively developed anymore. jacoco seems new favorite coverage tool. , supports exclusions...see http://www.eclemma.org/jacoco/trunk/doc/agent.html. again, @ class level.


Comments

Popular posts from this blog

c# - DetailsView in ASP.Net - How to add another column on the side/add a control in each row? -

javascript - firefox memory leak -

Trying to import CSV file to a SQL Server database using asp.net and c# - can't find what I'm missing -