Hi Sean, We are working in 1.4, but the code is the same in 2.0 See the ensured block in TestCase>>run | result | result := self classForTestResult new. [ self run: result ] ensure: [ self classForTestResource resetResources: self resources ]. ^ result On 28 févr. 2013, at 21:29, Sean P. DeNigris wrote:
Noury Bouraqadi-2 wrote
Jannik and I are having trouble dealing with resources in our robotic project. It's strange that resources are reset on every test run
* Which Pharo version? * Are you running the tests from the TestRunner or Nautilus?
There was a known bug in Nautilus that was integrated in 20552 (Issue 7510: Nautilus should run a class's tests as a suite http://code.google.com/p/pharo/issues/detail?id=7510)
-- View this message in context: http://forum.world.st/Test-Resources-tp4672769p4672799.html Sent from the Pharo Smalltalk mailing list archive at Nabble.com.
Noury Bouraqadi Ecole des Mines de Douai http://car.mines-douai.fr/noury --