註冊並分享邀請連結,可獲得影片播放與邀請獎勵。

Matt Pocock
@mattpocockuk
I teach devs for a living. Author of Total TypeScript and AI Hero. Ex-@vercel. Used to be a voice coach.
加入 August 2011
810 正在關注    355.7K 粉絲
This is mostly correct, but it assumes that 'unit' means 'the smallest possible unit' Testing larger units has ALWAYS been a good practice - it makes your tests less sensitive to structural changes So not "dead in the water", just software fundamentals coming back around
顯示更多
I agree with @thorstenball, I think unit tests are dead in the water. The ones the models write are terrible, at best just doubling total LOC. Inverting the testing approach - heavy e2e/black box/golden master, reaching for lower levels only if necessary, works better for me
顯示更多
0
43
530
10
轉發到社區