I am talking about the real 'Test Completeness', not the traditional 'Code Coverage',because Code Coverage is not very helpful when people start asking for more accurate estimations.
And by 'Test Completeness' I mean that (virtually) ALL possible usages of a function are covered, including Border conditions of the arguments, etc.
There is another Stackoverflow thread discussing this topic, but no java tool is mentioned in it.
Is there such as tool that can take a look at the current JUnit Tests and tell me approximately the percentage of completeness?
function SomeObject doSth(List<SomeObject> l) { return doSomethingElse(l); }
? Applications like pex can find edge cases (e.g., collections with null values), but they cannot generate all test cases. You need a human that understands the logic of the application and its expected results. Human use equivalence partitioning approach for instance to track coverage. Obviously, the challenge it define those classes.