On Mon, Mar 27, 2006 at 11:18:58AM +0200, Adrian Lienhard wrote:
Maybe the "expected failures" feature of SUnit would do the job? You let the tests in question fail but mark them as expected failures depending on whether the resources are loaded or not. Visually, the test runner will run yellow but explicitly state that it expected to so.
Can you give an example of how to mark a test that is expected to fail? I'm looking for something like the following, but I must be missing something obvious.
(SmalltalkImage current platformName = 'unix') ifFalse: [self expectFailure]
Thanks,
Dave