You might want to check out the tests we have in the source distribution of
IronPython in IronPython-2.0B3\Src\Tests. Our tests are based on a custom test
harness, lib.assert_util, and look similar to py.test tests. The general
pattern they follow is:
from lib.assert_util import *
def test_someTestCaseName():
AreEqual(..., ...)
AssertError(OSError, nt.mkdir, bad_dir)
#You get the idea
#More "test_*" functions...
run_test(__name__)
Hope that helps!
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Kaveripakam,
Sathish
Sent: Wednesday, June 25, 2008 8:18 AM
To: [email protected]
Subject: [IronPython] ironpython and NUNIT
Hello All,
i am trying to use the NUNIT with Ironpython using VS2005, .NET 2.0 version (
http://blog.bittercoder.com/CommentView,guid,ef0c495d-6804-4d6e-9537-ce238b6047c3.aspx#commentstart
), but I am not able to get the things going. Could any one had issues with
the usage ?
Are there any test frameworks available which will work with iron python ? any
pointers/hints are welcome.
________________________________
Legal Notice:
The information in this electronic transmission may contain confidential or
legally privileged information and is intended solely for the individual(s)
named above. If you are not an intended recipient or an authorized agent, you
are hereby notified that reading, distributing, or otherwise disseminating,
copying or taking any action based on the contents of this transmission is
strictly prohibited. Any unauthorized interception of this transmission is
illegal under law. If you have received this transmission in error, please
notify the sender by telephone [at the number indicated above/on +41 58 928
0101] as soon as possible and then destroy all copies of this transmission.
________________________________
_______________________________________________
Users mailing list
[email protected]
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com