On Sat, Oct 31, 2009 at 7:20 PM, Henrik Sperre Johansen <henrik.s.johansen@veloxit.no> wrote:
It happens for instance if you click one of the failing tests after
intially running tests, then fix the bug in the debugger that pops up.
(i.e., you're comitting changes while the test is being run).


Ok....I have just faced this problem too. I looked at the code but I don't know how to fix it.

Anyway, why should tests use a particular Author ?� I ask just because of ignorance.
Is it because of this http://code.google.com/p/pharo/issues/detail?id=1327�� ?

The only solution I see is an ugly hack that when you click on the "save" button of the MC browser, if the Author is 'TestRunner' you just ignore it and use the previous. To do this, we should store the previous in an instance variable instead of a temp.

The opened ticket is http://code.google.com/p/pharo/issues/detail?id=1379

Best,

Mariano

Cheers,
Henry

On 31.10.2009 18:31, Adrian Lienhard wrote:
> If I understand you correctly, the author is permanently set to
> 'TestRunner' after running tests?
>
> Do you know which tests cause the problem? Reverting to the original
> author is done in an ensure block, so I don't see how that can go
> wrong right now.
>
> Adrian
>
> On Oct 29, 2009, at 20:57 , St�phane Ducasse wrote:
>
>
>> apparently there is a bad interaction between the test runner and the
>> author
>> because from time to time I get author = TestRunner
>> Probably the runner code is not robust enough in case of failure
>> capture or something like that.
>>
>>
>> runCase
>> � � �Author
>> � � � � � � �useAuthor: 'TestRunner'
>> � � � � � � �during: [
>> � � � � � � � � � � �[self setUp.
>> � � � � � � � � � � �self performTest]
>> � � � � � � � � � � � � � � �ensure: [
>> � � � � � � � � � � � � � � � � � � �self tearDown.
>> � � � � � � � � � � � � � � � � � � �self cleanUpInstanceVariables ] ]
>>
>> _______________________________________________
>> Pharo-project mailing list
>> Pharo-project@lists.gforge.inria.fr
>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>>
>
> _______________________________________________
> Pharo-project mailing list
> Pharo-project@lists.gforge.inria.fr
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>
>
>


_______________________________________________
Pharo-project mailing list
Pharo-project@lists.gforge.inria.fr
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project