News for hackers. Stuff that matters.
Re:My Python testing style guide (2017) by disgruntledphd2 on Wednesday March 24, 2021 @12:43PM (#26569604)
As always, there are tradeoffs.

Personally, I work with some incredibly (100+line) long "unit" tests and they are a nightmare to work with.

Especially when the logic is repeated across multiple tests, and it's incorrect (or needs to be changed).

I really, really like shorter tests with longer names, but I'd imagine there are definitely pathologies at either end.

There are no comments on this comment yet.