#12415: Update doctesting framework
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
       Reporter:  robertwb                                                      
                                                                                
                                                                                
                                         |         Owner:  jdemeyer             
    
           Type:  enhancement                                                   
                                                                                
                                                                                
                                         |        Status:  closed               
    
       Priority:  major                                                         
                                                                                
                                                                                
                                         |     Milestone:  sage-5.9             
    
      Component:  doctest                                                       
                                                                                
                                                                                
                                         |    Resolution:  fixed                
    
       Keywords:                                                                
                                                                                
                                                                                
                                         |   Work issues:                       
    
Report Upstream:  N/A                                                           
                                                                                
                                                                                
                                         |     Reviewers:  Jeroen Demeyer, 
David Roe
        Authors:  David Roe, Robert Bradshaw, Jeroen Demeyer                    
                                                                                
                                                                                
                                         |     Merged in:  sage-5.9.beta0       
    
   Dependencies:  #13147, #13146, #13145, #12723, #12392, #12393, #12395, 
#12396, #12397, #12381, #12382, #12383, #12384, #11871, #13195, #13121, #13748, 
#13899, #12719, #5155, #14070, #14079, #14150, #14158, #14182, #14184, #14054, 
#14063, #13605, #14111, #14254, #14242, #14253  |      Stopgaps:                
           
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
Changes (by jdemeyer):

  * dependencies:  #13147, #13146, #13145, #12723, #12392, #12393, #12395,
                   #12396, #12397, #12381, #12382,
                   #12383, #12384, #11871, #13195,
                   #13121, #13748, #13899, #12719,
                   #5155, #14070, #14079, #14150,
                   #14158, #14182, #14184, #14054,
                   #14063, #13605, #14111, #14254,
                   #14242, #14253, #14307 => #13147,
                   #13146, #13145, #12723, #12392,
                   #12393, #12395, #12396, #12397,
                   #12381, #12382, #12383, #12384,
                   #11871, #13195, #13121, #13748,
                   #13899, #12719, #5155, #14070,
                   #14079, #14150, #14158, #14182,
                   #14184, #14054, #14063, #13605,
                   #14111, #14254, #14242, #14253


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.
>  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/
>
> '''Apply''' [attachment:12415_framework.patch],
> [attachment:12415_doctest_fixes.patch], [attachment:12415_doc.patch],
> [attachment:12415_review.patch], [attachment:12415_test.patch],
> [attachment:12415_review_review.patch], [attachment:12415_review3.patch],
> [attachment:12415_manifest.patch], [attachment:12415_rebase_58.patch]
>
> '''Apply''' [attachment:12415_script.patch] and
> [attachment:12415_script_review.patch] to the scripts repo
>
> '''Apply''' [attachment:12415_spkg_bin_sage.patch] to the root repo
>
> Follow-up or other doctest-related tickets: #2235, #12281, #12720,
> #12722, #13062, #13063, #13278, #13610, #14152, #14153, #14203, #14272,
> #14273, #14276, #14289, #14290, #14292.

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/

 '''Apply''' [attachment:12415_framework.patch],
 [attachment:12415_doctest_fixes.patch], [attachment:12415_doc.patch],
 [attachment:12415_review.patch], [attachment:12415_test.patch],
 [attachment:12415_review_review.patch], [attachment:12415_review3.patch],
 [attachment:12415_manifest.patch], [attachment:12415_rebase_58.patch]

 '''Apply''' [attachment:12415_script.patch] and
 [attachment:12415_script_review.patch] to the scripts repo

 '''Apply''' [attachment:12415_spkg_bin_sage.patch] to the root repo

 Follow-up or other doctest-related tickets: #2235, #12281, #12720, #12722,
 #13062, #13063, #13278, #13610, #14152, #14153, #14203, #14272, #14273,
 #14276, #14289, #14290, #14292, #14307.

--

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/12415#comment:301>
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 http://groups.google.com/group/sage-trac?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to