ironpython with nosetest

belred at gmail.com belred at gmail.com
Tue Sep 25 02:34:38 CEST 2007


has anyone tried nosetest with ironpython?  i installed IPCE-r6,
copied the nose directory below the .egg directory from my cpython
directory and copied to IPCE-r6/lib.  i then created a file called
n.py which contained two lines:

import nose
none.run()

i was then able to run it against a test file such as:

ipy n.py test_n.py

or

ipy n.py test_n.py:TestTest.test_f1

it worked as expected.  what doesn't work is if i omit the file name
and just run ipy n.py, it won't discover any test files. -w (working
directory) and -a (attribute) options seem to be ignored. but -s for
(don't capture output) and -h (help) does work.


thanks,

bryan




More information about the Python-list mailing list