[squeak-dev] The Trunk: SUnit-pre.142.mcz

Tony Garnock-Jones tonyg at leastfixedpoint.com
Wed Jun 8 11:38:39 UTC 2022


And this is also excellent. Thank you!

Tony

On 6/8/22 09:29, commits at source.squeak.org wrote:
> Reworks targetClass and classToBeTested in ClassTestCase. #targetClass is redundant with #classToBeTested and subclasses started overriding either one. As a first step to a more consistent protocol, this commit unifies #targetClass and #classToBeTested and redirects targetClass to classToBeTested. #classToBeTested now looks for a class to test on its own, but the mechanism can be overridden to make the class explicit. In some future, usages and overrides of #targetClass should be migrated to #classToBeTested.


More information about the Squeak-dev mailing list