Devin Jeanpierre <jeanpierr...@gmail.com>: > For example, one can also imagine testing that a serialized structure > is identical across version changes, so that it's guaranteed to be > forwards/backwards compatible. It is not enough to test that the > deserialized form is, because it might differ substantially, as long > as the communicated serialized structure is the same.
There are merits to canonical serialization formats, but that approach to testing is far too simplistic. A test case should accept all observed behavior that is correct. Marko -- https://mail.python.org/mailman/listinfo/python-list