On Fri, Aug 26, 2022 at 10:52 AM Jean-Paul Calderone <exarkun@twistedmatrix.com> wrote:
Hello all,

I'd like to start a discussion (but hopefully a brief one!) about using property testing techniques in Twisted.

The discussion seems to have petered out. :)  On the basis of at least a luke-warm reception to this idea, I've gone ahead and merged a branch that adds a Hypothesis dependency to the Trial test suite.  Hypothesis is used to test some code that itself supports the testing of Trial itself - so this is very internal to Twisted if we need to replace the tests with "normal" tests then I don't see how there could be any impact on any public Twisted APIs.

I also filed https://github.com/twisted/twisted/issues/11649 for the follow-up work to configure Hypothesis on CI to avoid non-deterministic failures in case there are any bugs in the code being tested by Hypothesis (or in those tests themselves).

Jean-Paul