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](https://zaurnasibov.com/articles/2021-11-10-good-practices-avoiding-the-use-of-test-inputs-in-assertions/knot.png)
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