Who did this onealphacyberranger@lemmy.world to Programmer Humor@programming.dev – 612 points – 11 months ago18Post a CommentPreviewYou are viewing a single commentView all commentsGotta love no unit testsif !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 bossGood work. Now explain to me why this test passed in CI but is clearly broken in production.
Gotta love no unit testsif !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 bossGood work. Now explain to me why this test passed in CI but is clearly broken in production.
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 bossGood work. Now explain to me why this test passed in CI but is clearly broken in production.
if !strings.Contains(makeNotification($hot_search_word).Text, '${hot_search_word}') { t.Fatal("notification text wrong") } Wrote the test boss
Gotta love no unit tests
Test coverage maintained. 👈😎👈
Wrote the test boss
Good work. Now explain to me why this test passed in CI but is clearly broken in production.