This is a great idea! I haven't used PyObjC, but F-script (www.fscript.org) might be another option. 

"F-Script is a lightweight object-oriented interactive and scripting layer specifically designed for the Mac OS X object system (i.e. Cocoa). F-Script provides scripting and interactive access to Cocoa frameworks and custom Objective-C objects."

The only challenge I see with F-script is hooking up as a WebKit delegate. I can try some tests with F-script in Colloquy and see if I can hook up with WebKit in all areas.

I can also look into PyObjC and give it a try. 

— Timothy Hatcher

On Aug 6, 2005, at 2:41 PM, Darin Adler wrote:

I'd like to see us figure out a way to use PyObjC or some other similar technology to do tests that are like our layout tests. This would be superior to actual Objective-C because we wouldn't have to compile all the test programs. Recently I've been seeing an increasing number of bugs in our Objective-C DOM and wanting tests that could regression test that the way our layout tests can do regression tests for _javascript_ and HTML issues.

Anyone interested in this? Any thoughts on whether it's practical?

    -- Darin

_______________________________________________
webkit-dev mailing list


_______________________________________________
webkit-dev mailing list
[email protected]
http://www.opendarwin.org/mailman/listinfo/webkit-dev

Reply via email to