[Adium-devl] A Unit-Testing Dissertation

Ofri Wolfus ofri.wolfus at gmail.com
Mon Jan 29 12:11:54 UTC 2007


Why should it be used with existing unit testing tools? Unit tests  
are meant for units and not for user interface. UI tests know nothing  
about the underlying units of the app (that's the reasoning behind  
using the accessibility API and not DO, for example), and independent  
units (= model) know nothing about the UI (assuming MVC design).

- Ofri

- - - - - - - - - - - - - - - - - - -
http://www.dpompa.com
- - - - - - - - - - - - - - - - - - -


On 29/01/2007, at 12:47, Colin Barrett wrote:

> It looks awesome!
>
> How would it be used with existing unit testing tools, is my only real
> question. That, and any potential limitations or caveats you see.
>
> -Colin
>
> On Jan 28, 2007, at 12:17 PM, Ofri Wolfus wrote:
>
>> After some researching and a lot of thinking, I came up with this
>> idea for building UI testing framework - http://www.dpompa.com/ 
>> UITestingKit.pdf
>> Before I start implementing it, I'd like to hear some comments. So,
>> what do you guys think?
>>
>> - Ofri
>>
>> - - - - - - - - - - - - - - - - - - -
>> http://www.dpompa.com
>> - - - - - - - - - - - - - - - - - - -
>>
>>
>> On 19/01/2007, at 14:00, Colin Barrett wrote:
>>
>>> Any work you can do in this area would be EXTREMELY helpful, not to
>>> just us, but to pretty much everyone writing software on the Mac.
>>>
>>> -Colin
>>>
>>> On Jan 19, 2007, at 3:52 AM, Ofri Wolfus wrote:
>>>
>>>> Actually, I *think* this could be done using GUI scripting and/or
>>>> the accessibility API. I haven't thought about this much (yet)  
>>>> but I
>>>> think we can come up with an automated system for testing adium at
>>>> real time rather than just the underlying framework.
>>>>
>>>> - Ofri
>>>>
>>>> - - - - - - - - - - - - - - - - - - -
>>>> http://www.dpompa.com
>>>> - - - - - - - - - - - - - - - - - - -
>>>>
>>>>
>>>> On 18/01/2007, at 01:36, disposable at infinitenexus.com wrote:
>>>>
>>>>> How would this apply to Adium? The typical argument for not adding
>>>>> unit testing to Adium might be "it's a user-responsive app that
>>>>> doesn't just do x with y, how would you unit test it?"
>>>>
>>>> _______________________________________________
>>>> Adium-devl mailing list
>>>> Adium-devl at adiumx.com
>>>> http://adiumx.com/mailman/listinfo/adium-devl_adiumx.com
>>>
>>>
>>> _______________________________________________
>>> Adium-devl mailing list
>>> Adium-devl at adiumx.com
>>> http://adiumx.com/mailman/listinfo/adium-devl_adiumx.com
>>
>> _______________________________________________
>> Adium-devl mailing list
>> Adium-devl at adiumx.com
>> http://adiumx.com/mailman/listinfo/adium-devl_adiumx.com
>
>
> _______________________________________________
> Adium-devl mailing list
> Adium-devl at adiumx.com
> http://adiumx.com/mailman/listinfo/adium-devl_adiumx.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://adium.im/pipermail/devel_adium.im/attachments/20070129/d48e164f/attachment-0001.html>


More information about the devel mailing list