E
Elhanan
hi..
i'm developing a framework which read an xml file an returns objects
from it (don't say data-binding the xml is far more complext for
that), my idea is to develop a class which reads a portion of the xml
returns an object and will call recursivlye on another instance of
itself , and so on..
first of all i will be using test data from a file as placing the xml
in a string sounds silly to me, problem is, how exactly should i test
the object returnd? should i implement equels and set up a fixture of
said objects?
i'm developing a framework which read an xml file an returns objects
from it (don't say data-binding the xml is far more complext for
that), my idea is to develop a class which reads a portion of the xml
returns an object and will call recursivlye on another instance of
itself , and so on..
first of all i will be using test data from a file as placing the xml
in a string sounds silly to me, problem is, how exactly should i test
the object returnd? should i implement equels and set up a fixture of
said objects?