Hi Tudor,
Thanks I'm glad to participate in Moose. I had no idea I was commiting against Moose, I thought it was against XUnitFamix.Maybe I don't understand the Monticello's project structure.
Ok, this idea is actually Alexandre's: "having Moose recognize unit tests". It doesn't seem complex given the feats Moose and Famix already have achieved, namely to be able to recognize new patterns.
Well, in order to do that Alexandre created for me XUnitTest, while I'm familiar with old Smalltalk IDEs, I'm not that familiar with Squeak and Pharo, although Pharo is a lot easier to use that Squeak, no doubt about it.
At first I thought it should be easy since for every class A I could easily find ATest, so for example to print tested classes in green if they pass their tests and red if they didn't. Unfortunately I've inspected a little bit how SUnit works, I still don't understand it fully, but it seems developers can follow whatever convention they want, for example a class gathers a set of classes that adhere to a protocol (and they simply are included in a list returned by something like Collection>>allCollectionClasses) and then for each class the same test is run. Obviously that requires run time analysis.
Well, so far I just want to create unit tests for the XUnitTest project that will discover unit test classes in a Smalltalk image, import them into FAMIX and then display it in Mondrian, not necessarily in that order ;-)
Is there any document that explains how to use FAMIX?
Cheers, Guillermo.
On Mon, 2010-10-11 at 23:28 +0200, Tudor Girba wrote:
Hi Guillermo,
First of all, welcome to Moose :).
Regarding your commit, given that changing the core packages of Moose can have a large impact, I would kindly ask you to introduce your ideas before committing. We also would typically like to see tests going hand in hand with commits.
So, could you describe your context a bit?
Cheers, Doru
On 11 Oct 2010, at 18:49, Guillermo Schwarz wrote:
Hi Alexandre,
I also have that change in my image, but I don't remember adding it, nor why would I flag anything in FAMIX.
Cheers, Guillermo.
On Mon, 2010-10-11 at 10:21 -0300, Alexandre Bergel wrote:
FAMIXUnknownVariable
-- Simplex Veri Sigillum
Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev
-- www.tudorgirba.com
"Being happy is a matter of choice."
Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev