I think that using FCA with sender or access you should get testmethods grouped by users
or the inverse.
Stef
On Dec 30, 2010, at 7:40 PM, Alexandre Bergel wrote:
Hi!
Since some of you are working on remodularizing code, maybe the following may inspire
you.
In Mondrian, the tests are badly structured. I actually wrote a large part of them as a
way for me to understand the initial version of Mondrian, back in 2007-2008. Most of the
tests are contained in the class MOViewRendererTest. They actually contain a lot of
duplicated scenario (not really code): I open a canvas, put some nodes and edges, run the
layout...
I would like to cut this class into smaller unit tests. Fixture will have to be found for
each new unit tests. How to structure them? Along the class hierarchy? Along the features
of Mondrian? Along the features commonly used in Mondrian scripts (which is how they are
roughly structured)?
I can remodularize my tests and come up with a satisfactory design in a couple of hours.
But maybe someone worked on a tool that would help me on this.
Cheers,
Alexandre
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel
http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
_______________________________________________
Moose-dev mailing list
Moose-dev(a)iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev