• dan@upvote.au
    link
    fedilink
    arrow-up
    11
    ·
    1 year ago

    I’ve written some tests that got complex enough that I also wrote tests for the logic within the tests.

    • AAA@feddit.de
      link
      fedilink
      arrow-up
      6
      ·
      1 year ago

      We do that for some of the more complex business logic. We wrote libraries, which are used by our tests, and we wrote tests which test the library functions to ensure they provide correct results.

      What always worries me is that WE came up with that. It wasn’t some higher up, or business unit, or anything. Only because we cared to do our job correctly. If we didn’t - nobody would. Nobody is watching the testers (in my experience).