News for hackers. Stuff that matters.
Re:Stop requiring only one assertion per unit test: Multiple... by drewcoo on Saturday November 05, 2022 @09:19AM (#33481176)
It's not nice to mock people "doing real http calls in unit tests," even if they deserve it.
Re:Stop requiring only one assertion per unit test: Multiple... by nsoonhui on Saturday November 05, 2022 @09:31AM (#33481289)
For mocking, the parent comment means "swapping out the external calls with dummy calls", not "laughing at the developer"
Re:Stop requiring only one assertion per unit test: Multiple... by kevincox on Saturday November 05, 2022 @11:58AM (#33482685)
I'm 98% sure that they understood that and it was a joke.
Re:Stop requiring only one assertion per unit test: Multiple... by BurningFrog on Saturday November 05, 2022 @12:22PM (#33482928)
You failed a humor unit test.
Re:Stop requiring only one assertion per unit test: Multiple... by ThunderSizzle on Saturday November 05, 2022 @05:53PM (#33486246)
Woops, did you see the joke fly right past you?
Re:Stop requiring only one assertion per unit test: Multiple... by warrenmiller on Saturday November 05, 2022 @09:26AM (#33481248)
Oh dear