Re: why don't many test frameworks support file-output?

2006-02-24 Thread kanchy kang
PROTECTED]> To: python-list@python.org Subject: Re: why don't many test frameworks support file-output? Date: Fri, 24 Feb 2006 07:43:20 -0800 kanchy kang wrote: > > I don't think redirecting stdout to a file is a good resolution. Nobody is suggesting: python program.py &g

Re: why don't many test frameworks support file-output?

2006-02-24 Thread Scott David Daniels
kanchy kang wrote: > > I don't think redirecting stdout to a file is a good resolution. Nobody is suggesting: python program.py >output or program.py >output What is being suggested is: import sys import module original, sys.stdout = sys.stdout, open('output', 'w') t

Re: why don't many test frameworks support file-output?

2006-02-24 Thread Magnus Lycka
kanchy kang wrote: > i browsed the following frameworks briefly: nose, OOBTest, > testosterone, py.test, Sancho ... and found out they do support > imediate screen-output only. Look at TextTest. -- http://mail.python.org/mailman/listinfo/python-list

Re: why don't many test frameworks support file-output?

2006-02-23 Thread kanchy kang
ng...sometimes the previous log information would be useful. ...hehe... best regards. >From: Benji York <[EMAIL PROTECTED]> >To: kanchy kang <[EMAIL PROTECTED]> >CC: python-list@python.org >Subject: Re: why don't many test frameworks support file-output? >Date: Th

Re: why don't many test frameworks support file-output?

2006-02-23 Thread Benji York
kanchy kang wrote: > i browsed the following frameworks briefly: nose, OOBTest, > testosterone, py.test, Sancho ... and found out they do support > imediate screen-output only. You can redirect stdout to a file. -- Benji York -- http://mail.python.org/mailman/listinfo/python-list

Re: why don't many test frameworks support file-output?

2006-02-23 Thread Kent Johnson
kanchy kang wrote: > i browsed the following frameworks briefly: nose, OOBTest, > testosterone, py.test, Sancho ... and found out they do support > imediate screen-output only. unittest.TextTestRunner() has an optional stream argument that would let you output to a file. Kent -- http://mail.p

Re: why don't many test frameworks support file-output?

2006-02-22 Thread Robert Kern
kanchy kang wrote: > i browsed the following frameworks briefly: nose, OOBTest, > testosterone, py.test, Sancho ... and found out they do support > imediate screen-output only. http://testoob.sourceforge.net/features.html Note the section on XML output. If you need it in a file, then you can use

why don't many test frameworks support file-output?

2006-02-22 Thread kanchy kang
i browsed the following frameworks briefly: nose, OOBTest, testosterone, py.test, Sancho ... and found out they do support imediate screen-output only. _ Don’t just search. Find. Check out the new MSN Search! http://search.msn.cl