How to write
test cases for XML parsers.
I have an XML file, i parse it and store it in database. A tag may or may not be present, depending on that I may or may not update that particular field. How to write test cases in such scenarios. I mean documenting not automating through any framework.