[SVN] r7022

Chris Thomas chris at cjack.com
Sat Apr 21 14:00:39 UTC 2007


On Apr 21, 2007, at 1:03 AM, Thomas Aylott (subtleGradient) wrote:

> On Apr 21, 2007, at 4:27 AM, Chris Thomas wrote:
>
>> U   trunk/Support/lib/ui.rb
>
> Do we have any unit tests for this stuff?
> If we did have them, where should we put them?

Not as such. I've been doing incremental ad-hoc testing as I go (you  
can see this bottom of ui.rb) and verifying that existing clients  
continue to work.

But I would like to have a set of tests for each function. I assume  
the path would be something like $TM_SUPPORT/lib/tests/ui/. It would  
also be nice to use AppleScript (with accessibility enabled) to  
automate testing, though I'm not sure how reliable that would be. If  
the tests require interaction, it's probably not significantly better  
than the approach I'm already using.

Chris



More information about the textmate-dev mailing list