Testing XML serialization attributes

My blog has moved. You can view this post at the following address: http://www.osherove.com/blog/2008/4/24/testing-xml-serialization-attributes.html
Published Thursday, April 24, 2008 10:42 PM by RoyOsherove

Comments

Friday, April 25, 2008 9:26 AM by Yoav Sion

# re: Testing XML serialization attributes

The class published in the post is the V1 implementation of this idea. It has been upgraded to AOP testing, using PostSharp's Composition Aspect, so in fact, you don't have to inherit any TypeTest class or anything, only mark your test class with an attribute describing what test you want it to run.

I kinda like the mirroring of test attributes, against real-code attributes that we are actually testing.

Do you have any other ideas of tests that can be implemented that way?