Forum Discussion
NiclasReimertz
17 years agoStaff
This is a challenge.
The question is: What does it measure, what metric should it affect?
I'm going to go out on a limb here and say it can not affect the Coverage Percentage. Why? Because the goal of coverage is to see what elements you have not tested and the percentage corresponds to that.
What id does affect and should affect, need to be some other metric. Because it is important, Testing all the weekdays for a weekday element as well as testing the boundaries for the weekdays (in this case 0 and and other destructive tests (for example SQL injection) is really important and should affect some Metric.
I think that we should add some metric, like "Well Testedness" or "Test Quality Score" that takes into consideration how many tests and assertions a project has and against which elements.
Only problem, this is easy at the first glance, but WILL be complex to implement.
/niclas
The question is: What does it measure, what metric should it affect?
I'm going to go out on a limb here and say it can not affect the Coverage Percentage. Why? Because the goal of coverage is to see what elements you have not tested and the percentage corresponds to that.
What id does affect and should affect, need to be some other metric. Because it is important, Testing all the weekdays for a weekday element as well as testing the boundaries for the weekdays (in this case 0 and and other destructive tests (for example SQL injection) is really important and should affect some Metric.
I think that we should add some metric, like "Well Testedness" or "Test Quality Score" that takes into consideration how many tests and assertions a project has and against which elements.
Only problem, this is easy at the first glance, but WILL be complex to implement.
/niclas