Groups
Sign in
Groups
comp.lang.python
Conversations
About
Send feedback
Help
info
Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss
Learn more
Unit test a class with xml elements
15 views
Skip to first unread message
Palpandi
unread,
May 24, 2016, 8:50:48 AM
5/24/16
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to
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.
Thanks.
John Gordon
unread,
May 24, 2016, 2:30:43 PM
5/24/16
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to
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"
0 new messages