Daniel Calvelo
2007-11-14 22:56:49 UTC
Mmmh, I might have broken it when cleaning up all the 'self'
references in mainFrame and cmdPanel. But I'd say it's healthy that
such breakage occurs and can be fixed: it means we are less dependent
on implementation details and having cleaner interfaces between the
modules.
We should be drafting some testing protocol. It's not easy to have
unit testing for UIs, so at least a manual set of operations that we
may assume covers most code will do. Something like:
- launch wxgrass
- add a vector layer with default options (first wxgui+menuform test)
- double-click it (layer management comm between wxgui and menuform)
- add overlays (comm between menuform and mapdisp)
- add a raster layer
- set transparency
and so on.
We will soon start having testers that might indicate buggy operations
to be added to this protocol.
Thoughts?
Daniel.
references in mainFrame and cmdPanel. But I'd say it's healthy that
such breakage occurs and can be fixed: it means we are less dependent
on implementation details and having cleaner interfaces between the
modules.
We should be drafting some testing protocol. It's not easy to have
unit testing for UIs, so at least a manual set of operations that we
may assume covers most code will do. Something like:
- launch wxgrass
- add a vector layer with default options (first wxgui+menuform test)
- double-click it (layer management comm between wxgui and menuform)
- add overlays (comm between menuform and mapdisp)
- add a raster layer
- set transparency
and so on.
We will soon start having testers that might indicate buggy operations
to be added to this protocol.
Thoughts?
Daniel.
It was in mapdisp.py, so I'm assuming I broke it (though I don't know how).
But it was easy to fix.
Michael
__________________________________________
Michael Barton, Professor of Anthropology
School of Human Evolution & Social Change
Center for Social Dynamics & Complexity
Arizona State University
phone: 480-965-6213
fax: 480-965-7671
www: http://www.public.asu.edu/~cmbarton
But it was easy to fix.
Michael
__________________________________________
Michael Barton, Professor of Anthropology
School of Human Evolution & Social Change
Center for Social Dynamics & Complexity
Arizona State University
phone: 480-965-6213
fax: 480-965-7671
www: http://www.public.asu.edu/~cmbarton
--
-- Daniel Calvelo Aros
-- Daniel Calvelo Aros