In <4c25c98f-9cf0-4a70-b33b-1d2c982de...@googlegroups.com> Palpandi <palpandi...@gmail.com> writes:
> Hi, > How can I unit test a class which using xml elements? > There is a posiibility of different combinations of xml. > What is the better way to test this kind of class? > XML binding is used here. > Share if any examples available. Create your own sample XML illustrating each desired combination. Then write test cases for each. -- John Gordon A is for Amy, who fell down the stairs gor...@panix.com B is for Basil, assaulted by bears -- Edward Gorey, "The Gashlycrumb Tinies" -- https://mail.python.org/mailman/listinfo/python-list