On Tue, May 1, 2012 at 3:15 PM, Nicolas M. Thiery <nicolas.thi...@u-psud.fr> wrote: > On Tue, May 01, 2012 at 09:32:19PM +0100, Dr. David Kirkby wrote: >> Otherwise, as I stated earlier, the doctest coverage will >> asymptotically approach 100%, even if no further doctests are added >> to older code. (This assumes all new functions have at least one >> test - which I believe is happening.) > > I definitely would love to achieve 100% test coverage (and better > branch coverage, not just doctest coverage).
And Nicolas, I applaud you for ensuring 100% coverage of the combinat/ codebase! -- William > > Now, I personally would put the emphasis on encouraging the > *refactoring* of the early Sage code (of course with appropriate > testing), rather than just doctesting it. There is for example not > much point adding a doctest on a function that is likely to be > discarded in the refactoring. > > I don't have good ideas on how to promote refactoring or doctesting, > beside rewarding (at least by a congratulation) any volunteer doing > so. > > Cheers, > Nicolas > > PS: by the above I mean no criticizing of early Sage code: it had to > be written quickly for the project to get started, and many tools to > write it nicely were just not available. > > -- > Nicolas M. Thiéry "Isil" <nthi...@users.sf.net> > http://Nicolas.Thiery.name/ > > -- > To post to this group, send an email to sage-devel@googlegroups.com > To unsubscribe from this group, send an email to > sage-devel+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/sage-devel > URL: http://www.sagemath.org -- William Stein Professor of Mathematics University of Washington http://wstein.org -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URL: http://www.sagemath.org