Re: [Pyobjc-dev] unit tests from ObjC
Brought to you by:
ronaldoussoren
From: Ronald O. <ous...@ci...> - 2003-02-17 06:59:45
|
On Sunday, Feb 16, 2003, at 22:37 Europe/Amsterdam, Bill Bumgarner wrote: > On Sunday, Feb 16, 2003, at 16:30 US/Eastern, Ronald Oussoren wrote: >> + BTW. The unittests don't cover calling Python from Objective-C at >> all! > > Agreed -- the unit tests don't cover testing from the perspective of > ObjC at all. Not just calling from ObjC->Python, but any of the > bridging or other functionality from [subclassing, method addition, > etc] from the ObjC side. > > Certainly, the cross bridge calling is the big one to test. > > Maybe we should add a compiled test module to each of the test/ > directories? The end result should not be offensively large and it > would likely contribute greatly to overall bridge quality.... I was thinking of writing 1 compiled module containing a small number of 'native' Objective-C classes (possibly 1), this would be part in Lib/objc/test. I'll start by creating a test that mirrors Examples/subclassing-objective-c.py. Ronald |