Opened 8 years ago

Last modified 7 years ago

#12415 closed enhancement

Update doctesting framework — at Version 4

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:

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.
  1. 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.

Change History (4)

comment:1 Changed 8 years ago by robertwb

  • Description modified (diff)

comment:2 Changed 8 years ago by robertwb

  • Description modified (diff)

comment:3 Changed 8 years ago by roed

  • Description modified (diff)

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

comment:4 Changed 8 years ago by roed

  • Description modified (diff)
Note: See TracTickets for help on using tickets.