De: James Duncan Davidson <address@hidden>
Date: 24 octobre 2004 01:28:17 GMT+01:00
À: Discussion list for UnitKit <address@hidden>
Objet: [Unitkit] UnitKit 1.1 Out
Répondre à: Discussion list for UnitKit <address@hidden>
Hi All,
Just in time for the Mac OS X Conference next week, I've pushed out
the next release of UnitKit.
Enjoy! And let me know how things go.
From the readme 1.0.1 -> 1.1
* Test classes and test methods are now executed in alphabetical
order. This allows for easy lookup of test results in the test output.
As well, it allows for testing of side effects on outside sources.
Keep in mind that each test is executed on a fresh test class
instance. This means you won't be able to keep an instance method
reference to an outside source.
* Test methods are now run within the scope of a run loop. This means
that you can test asynchronous callback functionality that relies on a
run loop and place UK test assertions in notification callback methods
and delegates. However, there are two things to keep in mind: 1) if
there isn't anything queued on the run loop when your test method
returns, your test class instance will immediately destroyed; and 2)
though run loops aren't as dangerous to play with as threads, you can
still create some interesting situations. Caveat programmer.
* Changed uncaught exception handler to also report the human readable
reason for the exception
* Changed [UKRunnner run] to [UKRunner runTests]. Apparently GNUstep
barfs on the "run" method declaration.
* Modified [UKRunner runTests] to check for Mac OS X 10.3 and if so,
use the new exception syntax, else use the old NS_DURING style macros.
* Modified UKTestClassesFromBundle to check for GNUstep and adjust its
code for for getting test class names from bundles
* Modified UKTestMethodNamesFromClass to check for GNUstep and adjust
its code for getting test methods from classes
* Changed the UnitKit bundle target template to only depend on the
Foundation.framework (and not AppKit). You still have to add
Foundation as a framework to the project, but this fixes a bug in some
cross-development situtations.
_______________________________________________
Unitkit mailing list
address@hidden
http://seven.pairlist.net/mailman/listinfo/unitkit