Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

improve doctesting of sage-sage script #589

Closed
williamstein opened this issue Sep 5, 2007 · 4 comments
Closed

improve doctesting of sage-sage script #589

williamstein opened this issue Sep 5, 2007 · 4 comments

Comments

@williamstein
Copy link
Contributor

On 9/4/07, Jonathan Bober <jwbober@gmail.com> wrote:
> My memory could be wrong, but I feel that this exact problem has
> occurred before. (The problem of running scripts on the command line not
> working -- not necessarily the exact same underlying cause for the
> problem.)
>
> This kind of basic functionality should probably be tested somewhere
> automatically. Maybe a doctect with a line like
>
> sage: os.system('.\sage something_or_other.sage')
>
> might work. Or maybe this would need to be somehow tested outside the
> doctest framework. I don't know. Just a thought.

True.

Implement some doctests like that  and post a patch to trac. :-)

Component: packages: standard

Reviewer: Jeroen Demeyer

Issue created by migration from https://trac.sagemath.org/ticket/589

@williamstein williamstein added this to the sage-2.9.1 milestone Sep 5, 2007
@williamstein williamstein self-assigned this Sep 5, 2007
@sagetrac-mabshoff sagetrac-mabshoff mannequin modified the milestones: sage-2.9.1, sage-2.9 Nov 3, 2007
@kcrisman
Copy link
Member

comment:2

This seems not too hard. In what file would such doctests live?

@kcrisman
Copy link
Member

kcrisman commented Jul 7, 2012

comment:3

Note that this is now $SAGE_ROOT/spkg/bin/sage. If this ticket is still valid.

@jdemeyer
Copy link

jdemeyer commented Feb 8, 2013

comment:4

Duplicate of #10300 + #10326 + #12249 + #9191.

@jdemeyer
Copy link

jdemeyer commented Feb 8, 2013

Reviewer: Jeroen Demeyer

@jdemeyer jdemeyer removed this from the sage-5.7 milestone Feb 8, 2013
@jdemeyer jdemeyer closed this as completed Feb 8, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants