> 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?

> > 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.

As I've said before, the framework R has for doing buildbotty stuff is
what we should be striving for, though Sage is far more involved, I
suppose, with all the subcomponents.  Even having a buildbot for the
release manager has really improved things already, I think!

- kcrisman

-- 
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

Reply via email to