I'm using a recent image.
According to the class docs,
TestRunner runTests
and
TestRunner runTests: '* test*'
should both work.
However, both result in walkbacks.
The first problem is that the Morph itself doesn't get opened, so you get a walkback because the Morph stuff hasn't been initialized.
This can be fixed in runTests and runTests: by making them call open, and making TestRunner class>>open return a TestRunner, not a SystemWindow.
Then runTests: is broken further because it calls some methods that don't exist (classPatternFrom: and selectorPatternFrom:).
In fact, there are several messages called in TestRunner that aren't implemented:
TestRunner>>openAsMorph calls TestRunner>>open TestRunner>>runTests: calls classPattern:, selectorPattern:, classPatternFrom: and selectorPatternFrom: TestRunner>>showResultDefects calls TestRunner>>result TestRunner>>showResultSummary calls TestRunner>>failureMessage
Ned,
The broken methods you mentioned seem to be a leftover from my port of SUnit that was replaced by the latest CS version recently. These two change sets provide the previous UI:
[ENH] 'Classic' SUnit UI http://swiki.gsug.org:8080/sqfixes/1841.html
[ENH][FIX] SUnit2 compatibility changes http://swiki.gsug.org:8080/sqfixes/1844.html
Best, -Robert
Ned Konz wrote:
I'm using a recent image.
According to the class docs,
TestRunner runTests
and
TestRunner runTests: '* test*'
should both work.
However, both result in walkbacks.
The first problem is that the Morph itself doesn't get opened, so you get a walkback because the Morph stuff hasn't been initialized.
This can be fixed in runTests and runTests: by making them call open, and making TestRunner class>>open return a TestRunner, not a SystemWindow.
Then runTests: is broken further because it calls some methods that don't exist (classPatternFrom: and selectorPatternFrom:).
In fact, there are several messages called in TestRunner that aren't implemented:
TestRunner>>openAsMorph calls TestRunner>>open TestRunner>>runTests: calls classPattern:, selectorPattern:, classPatternFrom: and selectorPatternFrom: TestRunner>>showResultDefects calls TestRunner>>result TestRunner>>showResultSummary calls TestRunner>>failureMessage
-- Ned Konz currently: Stanwood, WA email: ned@bike-nomad.com homepage: http://bike-nomad.com
On Wednesday 31 October 2001 02:21 pm, Robert Hirschfeld wrote:
The broken methods you mentioned seem to be a leftover from my port of SUnit that was replaced by the latest CS version recently. These two change sets provide the previous UI:
Since these are broken in the distribution image, do we need to fix them?
At 3:04 PM -0800 10/31/01, Ned Konz wrote:
On Wednesday 31 October 2001 02:21 pm, Robert Hirschfeld wrote:
The broken methods you mentioned seem to be a leftover from my port of SUnit that was replaced by the latest CS version recently. These two change sets provide the previous UI:
Since these are broken in the distribution image, do we need to fix them?
I'd like to see them fixed.
And we should consider putting the fixes in the 3.1 beta update stream as well as the 3.2 update stream, since the breakage happened in the last set of updates before 3.2 alpha was branched off.
-Martin
i posted a changeset to fix this a few weeks back.
david
At 11:14 AM 10/31/01 -0800, you wrote:
I'm using a recent image.
According to the class docs,
TestRunner runTests
and
TestRunner runTests: '* test*'
should both work.
However, both result in walkbacks.
The first problem is that the Morph itself doesn't get opened, so you get a walkback because the Morph stuff hasn't been initialized.
This can be fixed in runTests and runTests: by making them call open, and making TestRunner class>>open return a TestRunner, not a SystemWindow.
Then runTests: is broken further because it calls some methods that don't exist (classPatternFrom: and selectorPatternFrom:).
In fact, there are several messages called in TestRunner that aren't implemented:
TestRunner>>openAsMorph calls TestRunner>>open TestRunner>>runTests: calls classPattern:, selectorPattern:, classPatternFrom: and selectorPatternFrom: TestRunner>>showResultDefects calls TestRunner>>result TestRunner>>showResultSummary calls TestRunner>>failureMessage
-- Ned Konz currently: Stanwood, WA email: ned@bike-nomad.com homepage: http://bike-nomad.com
-- David Farber dfarber@numenor.com
squeak-dev@lists.squeakfoundation.org