lundi 16 octobre 2017

How can I in the simplest way test an XML file using J Unit testing?

I need to know how I can test part of an XML file with J-Unit testing. To put things into context here is the code I need to test:

You see a dwarf who works in the mine to find some iron for us.

You see an elder dwarf, a mighty warrior tired of fighting.

I need to test if the dwarf speed is greater than the elder dwarf speed. although I have never tested an XML file before and only java files so I have no clue!

Thanks to who respond in advance.

Aucun commentaire:

Enregistrer un commentaire