#12415: Update doctesting framework
-------------------------------+--------------------------------------------
Reporter: robertwb | Owner: mvngu
Type: enhancement | Status: new
Priority: major | Milestone: sage-5.0
Component: doctest | Resolution:
Keywords: | Work issues:
Report Upstream: N/A | Reviewers:
Authors: | Merged in:
Dependencies: | Stopgaps:
-------------------------------+--------------------------------------------
Description changed by roed:
Old description:
> There are several improvements that would be good to make, including but
> not limited to:
>
> 1. Forking rather than starting up a new Sage each time.
>
> 2. Customizeable comparison rather than mutating doctests into new
> doctests (e.g. followup to #10952).
>
> 3. Eliminate need to write temporary files for every doctested file.
>
> 4. Provide mechanisms for recording and comparing timings.
>
> 5. Constant headaches caused by the difference in doctesting library vs.
> non-library files.
>
> 6. The ability to drop into a debugger if a doctest raises an exception.
>
> 7. The ability to run different doctests in the same file in parallel.
>
> Code at
>
> http://code.google.com/p/sagemath-timer/
>
> does most of the above, should be added to the sage library.
New description:
There are several improvements that would be good to make, including but
not limited to:
1. Forking rather than starting up a new Sage each time.
1. Customizable comparison rather than mutating doctests into new
doctests (e.g. followup to #10952).
1. Eliminate need to write temporary files for every doctested file.
1. Constant headaches caused by the difference in doctesting library vs.
non-library files.
1. The ability to drop into a debugger if a doctest raises an exception.
Robert's code is at
http://code.google.com/p/sagemath-timer/
and does most of the above (plus more which has been moved to followup
tickets #12720 and #12722)
--
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/12415#comment:5>
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.