#9395: new doctest for french book about Sage
---------------------------+------------------------------------------------
Reporter: zimmerma | Owner: mvngu
Type: enhancement | Status: needs_work
Priority: major | Milestone: sage-4.5
Component: doctest | Keywords:
Author: | Upstream: N/A
Reviewer: | Merged:
Work_issues: |
---------------------------+------------------------------------------------
Changes (by mvngu):
* status: needs_review => needs_work
Comment:
You don't need to put your doctests inside a function. I think it's much
simpler to put your doctests inside a docstring. See the files under
tests/ in the Sage library for examples. You should also consider giving
your book's directory name a more descriptive name. Something like
"number_theory_zimmermann", not just "sagebook". Or do you envision the
directory "sagebook" to contain doctests of books that leverage the Sage
doctesting framework? In that case, see
[http://www.bitbucket.org/mvngu/textract this script] for a proof of
concept for automatic extraction of Sage code and doctesting the extracted
code. That script has been tested on this [http://code.google.com/p
/factor-book/ Sage book].
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/9395#comment:3>
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.