#9225: Indicate progress and elapsed time when running multiple doctests
---------------------------+------------------------------------------------
Reporter: mpatel | Owner: mvngu
Type: enhancement | Status: new
Priority: major | Milestone:
Component: doctest | Keywords:
Author: | Upstream: N/A
Reviewer: | Merged:
Work_issues: |
---------------------------+------------------------------------------------
Changes (by mpatel):
* priority: minor => major
Comment:
Other possibilities, probably mentioned before and probably for other
tickets:
* "Librarify:" Make it possible to doctest files and objects from the
Sage command-line or notebook, e.g.,
{{{
#!python
sage: doctest('file.sage', long=True, optional=['axiom', 'magma'])
sage: doctest(os.path.join(SAGE_ROOT, 'devel', 'sage', 'sage', 'monoids'),
processes=4)
sage: stats = {} # Collect errors, counts, timings, etc.
sage: doctest(['foo.py', 'bar.pyx'], stats=stats)
sage: def f():
....: """
....: sage: f()
....: 1
....: """
....: return 1
....:
sage: doctest(f)
}}}
* Doctest the doctesting framework! I think we could include
[comment:ticket:9449:13 this example], at least.
* An option to run an individual `file.py`'s "examples" (i.e., the files
`example_*` functions) in parallel.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/9225#comment:4>
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 post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.