Skip to content

What threshold should I set on a new project? #2416

Closed Answered by dupdob
CraigComeOnThisNameCantBeTaken asked this question in Q&A
You must be logged in to vote

Hi Craig.
I do. My target is at 1000 % for NFluent. I have been focused on Sryker for the past months, but last time I checked, I was around 99.xx% (I will circle back later why not 100%).
I did a post on my journey toward 100% (see here ).

Here are my key suggestions for this.

  1. Focus on getting 100% coverage first. Line coverage is usually sufficient. Why: because you can't kill a mutation you do not cover
  2. Try to revise existing tests (such as adjusting the parameters/prepare phase), but accept that you will have to write supplemental tests to kill mutants
  3. Immortal mutants: some mutants can not be killed.
    1. If it is a 'semantically equivalent mutation', i.e. the mutant does not actually c…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by CraigComeOnThisNameCantBeTaken
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants