[Twisted-Python] Deprecating classes and writing tests
adi at roiban.ro
Mon Jun 13 05:26:31 MDT 2016
What is the best practice for deprecating a class in Twisted and writing
tests for it ... and updating existing tests.
I think that the part in which the deprecation code is written, is well
understood and documented here
What is missing, is the part talking about how to test these changes and
how to update existing tests.
The compatibility / deprecation documentation include a section about how
to test deprecation code, but the section is brief.
This email is a follow up of a review done for this ticket
Please also check the comments on that ticket.
Please leave your feedback and we can try to apply and document it as part
of the work for ticket #8368
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Twisted-Python