You can check the class MondrianHealth2 that belongs to the package Mondrian-Tests of http://www.squeaksource.com/Mondrian.html The class contains many methods having a name that begins with 'metric'. Some students worked on a kind of Hudson that exploit these information. You can have a look at it: http://kimen.dcc.uchile.cl:8008/VerMon01/faces/project_details.xhtml?id=1 It would be cool to have a standard for this. As we have for SUnit. I think that what I did goes in the right direction, but the code is not as clean as it should. It would be cool to have a report generation, which could be .pdf, sending emails, ... Cheers, Alexandre On 14 Mar 2011, at 16:23, Stefan Marr wrote:
Hi Alexandre:
On 14 Mar 2011, at 18:10, Alexandre Bergel wrote:
Since the general idea is to write benchmarks like unit tests, how about 'SMark'/'SBench' instead of 'SUnit'?
I like the idea. Actually, this is what I have done with HealthReportProducer. A benchmark is created by subclassing it and defining #metric* methods. Ehm, could you elaborate? Do you want me to have a look at something and steal some code/ideas? If so, I would need a more elaborate hint than just a name. I googled for it, and there seems to be some reference in a metachello project, and interestingly google indexed already this email...
Thanks Stefan
Cheers, Alexandre
-- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
-- Stefan Marr Software Languages Lab Vrije Universiteit Brussel Pleinlaan 2 / B-1050 Brussels / Belgium http://soft.vub.ac.be/~smarr Phone: +32 2 629 2974 Fax: +32 2 629 3525
-- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.