Opened 10 years ago

Last modified 8 years ago

#12415 closed enhancement

Update doctesting framework — at Version 3

Reported by: robertwb Owned by: mvngu
Priority: major Milestone: sage-5.9
Component: doctest framework Keywords:
Cc: kini, ohanar, jhpalmieri Merged in:
Authors: Reviewers:
Report Upstream: N/A Work issues:
Branch: Commit:
Dependencies: Stopgaps:

Status badges

Description (last modified by roed)

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. Customizeable 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. Provide mechanisms for recording and comparing timings.
  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.

Code at

does most of the above, should be added to the sage library.

Change History (3)

comment:1 Changed 10 years ago by robertwb

  • Description modified (diff)

comment:2 Changed 10 years ago by robertwb

  • Description modified (diff)

comment:3 Changed 10 years ago by roed

  • Description modified (diff)

I'm working on this. E-mail me if you want to collaborate.

Note: See TracTickets for help on using tickets.