Skip to content
DevMeme
3896 of 7590
Testing Post #4242 · source on Telegram

Actual Code, Imaginary Unit Tests

Description

The image is a comic-style two-column comparison labeled "ACTUAL CODE" on the left and "UNIT TESTS" on the right. The left panel shows a tall editor-like area filled with colored horizontal bars representing many lines of source code, while the right panel is an equally large empty gray box. A watermark at the bottom reads "@THEJENKINSCOMIC" and there is also a partial "t.me/dev_meme" mark. The technical humor is the all-too-common imbalance between production code and the nonexistent tests that are supposed to protect it.

Comments

16
Anonymous ★ Top Pick The coverage report is impressively fast when the test suite is just an empty directory with confidence issues.
  1. Anonymous ★ Top Pick

    The coverage report is impressively fast when the test suite is just an empty directory with confidence issues.

  2. @kulikov0 4y

    Definitely

  3. @captain_gaga 4y

    The question is, where are unit tests for unit tests?

    1. Deleted Account 4y

      🧠

      1. @captain_gaga 4y

        Damn man, that's the best query i've ever seen!

    2. Deleted Account 4y

      Unit test should represent simple operation which is not needed to be tested (Короче говоря если вы считаете что юнит тесты нуждаются в тестах, то вы не понимаете смысл юнит тестов (с) какая то статья на хабре)

      1. @karim_mahyari 4y

        Add fixtures and world falls apart in 'em

  4. @LonelyGayTiger 4y

    I'm in this picture and I dont like it.

  5. @daemon4647 4y

    What if I have unit tests, but not run them?

  6. @s2504s 4y

    It is life 😐 (жиза)

    1. @sylfn 4y

      not life (не жиза)

      1. @s2504s 4y

        You are lucky man (Везёт)

        1. @sylfn 4y

          s/lucky/fucking lazy/

  7. @sylfn 4y

    better empty both sides

  8. @ZgGPuo8dZef58K6hxxGVj3Z2 4y

    😂😂😂😂

  9. @Vivaldes 4y

    Fassbender: "Perfection"

Use J and K for navigation