Working on the Exercism project to shorten generated test method names,
for comparison I reviewed the length of test method names in Pharo 7.
So just for curiousity value, here is that graph (done in Excel)...

[image: image.png]

Data generated by...
   classes := Object allSubclasses select: [ :cc | cc isKindOf: TestCase
class ].
   methods := c flatCollect: [ :c | c allMethods  ].
   tests := methods select: [ :m | m selector beginsWith: 'test' ].
   lengths := tests collect: [ :m | m selector size ].
   lengths asBag keysAndValuesDo: [ :len :count | Transcript crShow: len;
show: ','; show: count  ]

cheers -ben

Reply via email to