跳过导航
Morning bathrobe rant: Write your damned tests.
0:00 / 4:35

Morning bathrobe rant: Write your damned tests.

Uncle Bob Martin

@unclebobmartin29万 位关注者

在 X 上查看
1,318 个赞下载原帖

100,570 次观看

Morning bathrobe rant: Write your damned tests.

11 条评论

评论来自 X (Twitter) 上的原帖

  • kache 的头像

    @yacineMTB

    it's true

    14 个赞

  • Chenpi🍊 的头像

    @agedchenpi

    I see what you are saying Problem is the person that approves the PR wrote the code…so now I hafta explain why they are dog 😭

    7 个赞

  • growthesque 的头像

    @growthesque

    only integration tests though, as per @htmx_org doctrine.

    4 个赞

  • Coffee Fool 的头像

    @thecoffeefool

    Got fresh coffee? We do.

    2,343 个赞

  • R◎NNY 的头像

    @ronnyhaase

    Unfortunately, code turning me into horror barely has tests because people writing tests barely write horror code. 😁

    4 个赞

  • TadasG 💻 的头像

    @tadasged6

    yes! Especially with AI. Write tests Ask AI to refactor Use tests to make sure everything still works Don't crash prod Everyone happy Uncle Bob also happy

    3 个赞

  • Nilo Stolte, PhD 🍁⚙️ 的头像

    @nilostolte

    I love the "hair style" 😂😂😂

    3 个赞

  • Occam’s Chainsaw 的头像

    @mrr___beast

    How do you verify that all of the adverse outcomes are covered by the tests? I’ve found people love writing tests for the obvious stuff but fail to cover the tricky stuff i.e. where the tests are most needed

    3 个赞

  • Uncle Bob Martin 的头像

    @unclebobmartin

    You refuse to write a line of production code until you have a test that fails because that line hasn't been written.

    1 个赞

  • ⛵️ jazzy 的头像

    @center_of_chaos

    no :(

    2 个赞

  • Uncle Bob Martin 的头像

    @unclebobmartin

    Yes!

    7 个赞