pharo-project / pharo

Pharo is a dynamic reflective pure object-oriented language supporting live programming inspired by Smalltalk.
http://pharo.org
Other
1.21k stars 355 forks source link

Composite test suites set up test resources multiple times #17113

Open Rinzwind opened 1 month ago

Rinzwind commented 1 month ago

As remarked in smalltalkCI issue #661, when test suites are composed (see the section on TestSuite in the book “Testing in Pharo”), running the composite test suite sets up test resources shared by the leaf test suites multiple times rather than just once.

Ducasse commented 1 month ago

Hi kris Thanks for this one. We once tried to make sure that SUnit gets only one logic to run the tests locally and on the server but the code was never integrated. It should be in the Pharo repo. So we end up with such strange behavior.