On Saturday, April 6, 2013, Bertrand Delacretaz wrote: > On Fri, Apr 5, 2013 at 2:22 PM, Justin Edelson > <[email protected]<javascript:;>> > wrote: > > ...To be clear, are you proposing that no commit can be made to Sling > without > > automated tests?... > > For core stuff I think we should clearly aim for that.
Aim, but please don't make it a condition of commit. We are humans and we need to be able to be pragmatic if we are to achieve perfection. > > Another metric that might be more flexible is to look at test coverage > before releasing any module, and going back to adding tests if we're > not happy with the result. +1, it's one of a number of metrics that should inform readiness to release. Quality of coverage is more important than absolute coverage. Documentation and readability are also important, softer, metrics. For me, code coverage is about being able to sleep at night, knowing, that somewhere in the world 10s of 1000s of people's daily lives and future depend on something I committed to. Ian > > -Bertrand >
