#20182: Automatic doctest for nonpackages
-------------------------+-------------------------------------------------
Reporter: klee | Owner:
Type: | Status: new
enhancement | Milestone: sage-7.1
Priority: minor | Resolution:
Component: | Merged in:
doctest framework | Reviewers:
Keywords: | Work issues:
Authors: | Commit:
Report Upstream: N/A | a0df81845fd4b85ed411ce322ce879ac84e2df52
Branch: | Stopgaps:
public/20182 |
Dependencies: |
-------------------------+-------------------------------------------------
Comment (by klee):
The behavior "--optional" tag has changed after the merged ticket:
http://trac.sagemath.org/ticket/18558, but the developer's manual seems
not updated completely to reflect the changes. The following is from
experiments and the documentation. So would you verify my understanding?
(1) "-t" : tests all ordinary doctests and also doctests about installed
optional packages, in effect equivalent to "-t --optional=optional".
(2) "-t --optional": no-op
(3) "-t --optional=PKGS": only run doctests including one of the "#
optional - xxx" tags where xxx is listed in PKGS;
if "sage" is listed will also test
the standard doctests;
if "optional" is listed will also
test all available(installed) optional packages;
if set to "all", then all tests will
be run;
If this is correct, then
(A) Via this ticket I want to add one more line to (3):
if "external" is listed, then also
include all doctests with "# optional - xxx" where xxx is an available
external softwares and resources like "magma", "matlab", "internet",
"latex", etc (basically everything that is not a Sage standard or optional
package).
(B) Also we can change (1) to equate "-t" to "-t
--optional=optional,external".
Do you agree?
--
Ticket URL: <http://trac.sagemath.org/ticket/20182#comment:17>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.