java - Removing redundant JUnit testsuite tests -


in our junit testsuite, have spotted few tests not drive coverage, , should removed (they take time not add value test suite).

i wondering tools exist can spot redundant tests me?

i'd consider misuse of code coverage metric. because test doesn't increase metric, not redundant - test specific execution path consists of loc covered several other tests together, represents behaviour none of other tests cover. , remember: code behaviour influenced state, no test coverage tool know measures coverage of state space.

unless runtime of test suite serious problem, there better things can time eliminate possibly redundant tests.


Comments

Popular posts from this blog

android - Spacing between the stars of a rating bar? -

aspxgridview - Devexpress grid - header filter does not work if column is initially hidden -

c# - How to execute a particular part of code asynchronously in a class -