[sage-devel] Conversion of old .sws worksheets using "sage -sws2rst" and "sage -n export"

2020-09-05 Thread Matthias Koeppe
Sage 9.2 removes the deprecated SageNB completely, as briefly noted in https://wiki.sagemath.org/ReleaseTours/sage-9.2#Cleaning Would someone be able to add a few words on how to convert existing .sws files – preferably without having to refer people to an older version of Sage. There seem to

[sage-devel] Re: Unittests vs doctests

2020-09-05 Thread Nils Bruin
On Friday, September 4, 2020 at 11:18:18 AM UTC-7, tobia...@gmx.de wrote: > > Thanks for the quick answers. It's good to know that sage does have a > distinction between classical doctests and unit tests. Is there a deeper > reason than tradition that the latter is implemented as doc tests using

[sage-devel] Re: Unittests vs doctests

2020-09-05 Thread Sébastien Labbé
> (I don't know where we are now, but I would guess it must be 95%). I was curious to check where we are now: $ sage -coverage --summary src/sage Global score: 96.5% (49627 of 51409) 480 files with wrong documentation 1292 functions with no doc 490 functions with no test 473 doctest are potent

[sage-devel] Re: Unittests vs doctests

2020-09-05 Thread Sébastien Labbé
Very early in the sage development, it became an obligation that all new code getting into Sage must be 100% doctested (see the command sage -coverage ). Also, it was a goal in the first years to increase the coverage of the sage library which went from a low 60% to above 90% (I don't know wher

[sage-devel] Re: Unittests vs doctests

2020-09-05 Thread kcrisman
On Friday, September 4, 2020 at 2:18:18 PM UTC-4 tobia...@gmx.de wrote: > Thanks for the quick answers. It's good to know that sage does have a > distinction between classical doctests and unit tests. Is there a deeper > reason than tradition that the latter is implemented as doc tests using