#20182: Automatic doctest for external softwares
-------------------------+-------------------------------------------------
       Reporter:  klee   |        Owner:
           Type:         |       Status:  needs_review
  enhancement            |    Milestone:  sage-7.2
       Priority:  major  |   Resolution:
      Component:         |    Merged in:
  doctest framework      |    Reviewers:
       Keywords:         |  Work issues:
        Authors:         |       Commit:
  Kwankyu Lee            |  6d7d3d5b9bb1f1ba3e068fdd5a3766a5415dd41c
Report Upstream:  N/A    |     Stopgaps:
         Branch:         |
  public/20182           |
   Dependencies:         |
-------------------------+-------------------------------------------------

Comment (by jhpalmieri):

 What should happen with failing doctests? Do they need to be fixed on this
 ticket, or elsewhere? For example:
 {{{
 sage -t src/sage/plot/graphics.py
 **********************************************************************
 File "src/sage/plot/graphics.py", line 1624, in
 sage.plot.graphics.Graphics.show
 Failed example:
     plot(x, typeset='latex') # optional - latex
 Expected nothing
 Got:
     Graphics object consisting of 1 graphics primitive
 **********************************************************************
 File "src/sage/plot/graphics.py", line 1630, in
 sage.plot.graphics.Graphics.show
 Failed example:
     plot(x, typeset='type1') # optional - latex
 Expected nothing
 Got:
     Graphics object consisting of 1 graphics primitive
 **********************************************************************
 1 item had failures:
    2 of  87 in sage.plot.graphics.Graphics.show
 }}}
 I get this at the end of `make ptestall`:
 {{{
 ----------------------------------------------------------------------
 sage -t src/sage/plot/graphics.py  # 2 doctests failed
 sage -t src/sage/plot/plot.py  # 1 doctest failed
 sage -t src/sage/arith/misc.py  # 1 doctest failed
 sage -t src/sage/tests/cmdline.py  # 1 doctest failed
 sage -t src/sage/dev/sagedev.py  # 2 doctests failed
 sage -t src/sage/structure/sage_object.pyx  # 2 doctests failed
 sage -t src/sage/combinat/designs/bibd.py  # 1 doctest failed
 sage -t src/sage/misc/package.py  # 6 doctests failed
 sage -t src/sage/doctest/external.py  # 1 doctest failed
 sage -t src/sage/repl/rich_output/pretty_print.py  # 1 doctest failed
 sage -t src/sage/dev/trac_interface.py  # 5 doctests failed
 sage -t src/sage/repl/load.py  # 2 doctests failed
 sage -t src/doc/en/developer/coding_basics.rst  # 1 doctest failed
 sage -t src/sage/dev/patch.py  # 3 doctests failed
 sage -t src/sage/databases/oeis.py  # 2 doctests failed
 sage -t src/sage/combinat/integer_lists/invlex.pyx  # 1 doctest failed
 sage -t src/sage/dev/digest_transport.py  # 1 doctest failed
 sage -t src/sage/finance/stock.py  # 2 doctests failed
 sage -t src/sage/misc/remote_file.py  # 2 doctests failed
 ----------------------------------------------------------------------
 Total time for all tests: 1929.7 seconds
     cpu time: 3833.1 seconds
     cumulative wall time: 7184.9 seconds
 External softwares detected for doctesting: internet,latex
 }}}

--
Ticket URL: <http://trac.sagemath.org/ticket/20182#comment:62>
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 https://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.

Reply via email to