Good practices: Avoiding the use of test inputs in assertions

Posted on 10 November 2021 in Articles • Tagged with good practices, programming, python, testing, unit tests • 2 min read

Figure of eight know / https://freesvg.org/figure-of-eight-knot-vector-illustration / License: Public Domain

It might be very convenient to use the same fixtures in test setup and assertions. This practice though is not as good as it looks like at first glance.


Continue reading