[IronPython] IpyUnit unit testing module
Ryan Ginstrom
ginstrom at tree.odn.ne.jp
Sat Dec 30 10:19:39 CET 2006
Hello all:
I've started using IronPython on a new desktop application, and I am really
enjoying it. One thing I missed, though, was an easy-to-use unit testing
framework. I'm very new to both .NET and IronPython, but I made a first stab
at writing a unit testing module.
It's still very much a work in progress, but feel free to look at it/play
around, etc. And of course, feedback is very welcome.
http://ginstrom.com/IpyUnit.html
Minimal usage:
>>> import IpyUnit
>>> class t(IpyUnit.TestClass):
... def test1(self):
... self.failUnlessEqual(1+1,2)
...
>>> IpyUnit.registerTestClass(t)
>>> IpyUnit.run()
Regards,
Ryan
--
Ryan Ginstrom
More information about the Ironpython-users
mailing list