Thinking more about this, what I need to do is to reengineer and cut new perimeters inside the package blueprint blob. More precisely, I would like to define testable perimeters like:
- querying the model
- building the model beneath the visualization (surfaces + cells)
- describing the visualization with Mondrian
- and describing the browser around with Glamour
That's actually more complicated than I thought originally: there is a strong flavour of procedural implementation (inherited from the first version in VW), dead code, data structure which are centralized in the blob and should be put into objects, etc.
So that's what I'm trying to do: read code, what does it do and is it good or bad, write tests, rewrite if necessary. Since I start from nothing, I don't much test to guide me but it could be interesting to see these new 'perimeters' evolve through testing in Hapao.
Hapao is made to help you focus on the interesting methods when writing tests.
Alexandre