[Pyunit-interest] Fwd: Pycotine now using PyObjC! ;-)
Brought to you by:
purcell
From: Dinu G. <gh...@da...> - 2003-01-12 13:59:13
|
FYI, I posted this recently on the pyobjc-mailinglist. It's about a 100% Python implementation of my previous Objective-C version of a Cocoa GUI test i/f on the Mac... Regard it as beta code as the tarball for v. 0.2 does not include anything else but code, which you have to build with Apple's ProjectBuilder. Dinu > Von: Dinu Gherman <gh...@da...> > Datum: Mi, 8. Jan 2003 10:56:31 Europe/Berlin > An: pyo...@li... > Betreff: [Pyobjc-dev] Pycotine now using PyObjC! ;-) > > Hi, > > this is really exciting... I once wrote a little Cocoa GUI to Steve > Purcell's PyUnit, following closely an existing Tkinter GUI. I've > "ported" Pycotine y'day to use PyObjC and put the new development > version 0.2 into my Starship cabin: > > http://python.net/crew/gherman/#pycotine > > The interesting bits are: it's still using NSTask to spawn an exter- > nal "tracking" TestRunner and an NSTimer to read the data from some > files and refresh the GUI during testing. Under Objective-C this > was the only way, but using Python only this can clearly be improv- > ed, maybe in the next version. Ideally, the info in the traceback > view would be clickable and able to take you to the source files... > maybe one day... ;-) > > To run it on your own test suites just add a function named either > suite() or makeSuite() that returns a unittest.TestSuite object to > your Python file and open/run it with Pycotine! The previous ver- > sion 0.1 contains some samples, too, which you can reuse with 0.2. > > I like the fact that Cocoa/PB/IB development is much faster with > Python than with Objective-C! It would be interesting to compare > to AppleScript, which I know little about... > > Enjoy, > > Dinu > > -- > Dinu C. Gherman > ...................................................................... > "Some are born great, some achieve greatness, and some hire public > relations officers." (Daniel J. Boorstin) > > _______________________________________________ > Pyobjc-dev mailing list > Pyo...@li... > https://lists.sourceforge.net/lists/listinfo/pyobjc-dev |