• loutr@sh.itjust.works
    link
    fedilink
    arrow-up
    13
    ·
    8 months ago

    I guess it would make sense if you’re testing a public API? To make sure the documentation is sufficient and accurate.

    • Natanael@slrpnk.net
      link
      fedilink
      arrow-up
      11
      ·
      8 months ago

      Yeah blackbox testing is a whole thing and it’s common when you need something to follow a spec and be compatible

    • folkrav@lemmy.ca
      link
      fedilink
      arrow-up
      2
      ·
      8 months ago

      He specifically said “unit tests” though, which aren’t black box tests by definition