Pharo Smalltalk Users mailing list wrote
> so to be clear. In the test are data given which not has to be changed. As
> soon as you have to solve the real problem , some data needs to be
> changed. 

It's difficult to give good design advice with such a partial picture of the
domain, but two straightforward solutions might be:
1. self isDeploymentMode ifTrue: [ "change data" ]
2. or, self sanitizationStrategy: (NoSanitization | ProductionSanitization)



-----
Cheers,
Sean
--
Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html

Reply via email to