News for hackers. Stuff that matters.
Re:Stop requiring only one assertion per unit test: Multiple... by mollerhoj on Saturday November 05, 2022 @01:35PM (#33483616)
Heh yeah but it can be used to write tests that check your assumptions about a 3 party api. Granted, It'll only fail once the test are rerun without the cache, but it can still be a valuable technique. It can be valuable to have a testsuite that a) helps check assumptions when implementing the connection and b) helps locate what part of it later starts to behave unexpectedly.

There are no comments on this comment yet.