-
Notifications
You must be signed in to change notification settings - Fork 66
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
aSCITestRunnerResult instead of test case when viewing test results written to stdout and GemStone? #246
Comments
The problem here appears to be that SCITestRunnerResult implements #prinString, but #title (used by ansiTitle for the SCITestReporterStdout) sends the message #asString. In GemStone, at least, #asString does not call #printString.... presumably #printString should be used in #title or (better) implement #asString ... since that appears to be the selector that is normally used ... |
Travis output is wrong as well ... have to expand the test result fold to see that the output is incorrect |
This problem showed up in the SmalltalkCI test, but noone bothered to actually look at the GemStone test output ... hard to write a unit test when you are changing the way test results output appears --- need to actually look at the results |
GemStone #printOn: calls #asString. Default #asString is the class name and default printString calls #printOn: Pharo #printOn: is the class name. Default #asString calls #printString and default #printString calls #printOn:. Ideally #printOn:, printString and #asString would return the same thing. For Pharo implementing #printOn: unifies all three methods and for GemStone #asString unifies all three methods, therefore for portability Between GemStone and Pharo it is necessary to implement both #printOn: and #asString ... I haven't looked at Squeak ... |
Yes, I only realized that when I looked at the builds you mentioned yesterday. |
It seems the last time I ran a local GemStone test, we were getting a test case that displayed it's selector not the following:
At this point I have no idea whether this is a general problem or restricted to GemStone ...
The text was updated successfully, but these errors were encountered: