On Wed, Dec 1, 2010 at 12:38 PM, kcrisman <kcris...@gmail.com> wrote: > >> But let's not make Sage too much more bureaucratic. If anything, it's >> already too bureaucratic. I personally can hardly stand to submit >> anything to Sage anymore because of this. > > :( > >> I do think it would be good to start using nosetest >> (http://somethingaboutorange.com/mrl/projects/nose/0.11.2/) to >> automatically run all functions that start with "test_" in all files, >> in addition to doctests. This is how I've been testing the purple-sage >> library (http://code.google.com/p/purplesage/), and for many cases it >> does result in me writing much more comprehensive test suites. > > You mean http://trac.sagemath.org/sage_trac/ticket/9921?
Yes. I especially agree with David Kirkby's remark: "IMHO it would be sensible to have nose as a standard package.". > >> > If you are going to give an example, how much longer does it take to >> > check if they are consistent with Mathematica or similar software? Or >> > chose an integral from a book? >> >> That does raise an issue: one problems is that most of Sage isn't >> calculus. Most code I write these days isn't available in any other >> software... >> A lot of what Sage does is available only in Magma say, which many >> people don't even have access to. > > And plots need to be tested 'by hand' by looking at them - which I do > a lot of when reviewing those tickets. > > One interesting point coming out of this is that the onus is put on > the author, not the reviewer, for testing. I assume that means > "running doctests with ./sage -t or something", not "trying edge/ > corner cases the author might not have thought of and making sure > those work", which I think does properly belong with the reviewer. I disagree. The author *and* the reviewer should both do as much as they can reasonably do. William -- 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