Hi,
I've checked and yes this is a strange problem. I've tried to duplicate problematic test methods: just added testEnteringTextInPort2 with the same code as testEnteringTextInPort and added testExplicitAcceptDoesNotAffectTextPort2 with the same code as testExplicitAcceptDoesNotAffectTextPort then the test results differ.
before: 2 tests are failing (yellow) testEnteringTextInPort fails (yellow) testExplicitAcceptDoesNotAffectTextPort fails (yellow)
after: 3 tests are failing (yellow) testEnteringTextInPort testExplicitAcceptDoesNotAffectTextPort testPastingUpdatesTextPort
and very strange, testEnteringTextInPort2 and testExplicitAcceptDoesNotAffectTextPort are green.
Test results seem to differ randomly when one duplicate test methods.
Another strange thing is that I did'nt find String>>#equals: (I only have a method #equals: in Zinc).
Something wrong with the test framework ?
Cheers Alain
Le 2 juil. 2013 à 12:49, Tudor Girba tudor@tudorgirba.com a écrit :
Thanks. I got the same problem and I do not know where to start from. It's really strange.
For those interested, the tests are in the GLMRubricTextMorphicTest class. If you run all of them repeatedly, you get some errors. If you run them individually, you do not.
Alain: do you happen to have an insight?
Doru
On Tue, Jul 2, 2013 at 11:53 AM, Yuriy Tymchuk yuriy.tymchuk@me.com wrote: Hi guys.
I hope that we can release 4.8 and move to Pharo 3.0 soon. I wanted to fix failing tests and the only one is Rubric test. I was working with it for some time, and I have no idea what's up. When you run tests separately they work fine, but when being run in a suite some test fail and failures are inflicted by test order
Maybe someone have ideas where to look at? UI maybe?
Uko _______________________________________________ Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev
-- www.tudorgirba.com
"Every thing has its own flow"