alphacyberranger to Programmer Humor@programming.devEnglish • 10 months agoWho did this onelemmy.worldimagemessage-square19fedilinkarrow-up1629arrow-down111
arrow-up1618arrow-down1imageWho did this onelemmy.worldalphacyberranger to Programmer Humor@programming.devEnglish • 10 months agomessage-square19fedilink
minus-squareandrewlinkfedilinkEnglish42•10 months agoif !strings.Contains(notification.Text, "People are") { t.Fatal("notification text wrong") } Test coverage maintained. 👈😎👈
minus-squareRedjardlinkfedilink16•10 months agoif !strings.Contains(makeNotification($hot_search_word).Text, '${hot_search_word}') { t.Fatal("notification text wrong") } Wrote the test boss
minus-square@______@lemm.eelinkfedilink3•edit-210 months agoGood work. Now explain to me why this test passed in CI but is clearly broken in production.
Gotta love no unit tests
if !strings.Contains(notification.Text, "People are") { t.Fatal("notification text wrong") }
Test coverage maintained. 👈😎👈
if !strings.Contains(makeNotification($hot_search_word).Text, '${hot_search_word}') { t.Fatal("notification text wrong") }
Wrote the test boss
Good work. Now explain to me why this test passed in CI but is clearly broken in production.