8
devapsarl
87d

A dev colleague told me today « the frontend is a huge unit test of the backend ». Ideas?

Comments
  • 4
    Unit tests work in isolation, independent of i/o, networking. If a test needs i/o, it’s not a unit test
  • 4
    Honestly, more like an e2e, but kind of facts
  • 3
    tell'em their salary's comes from the frontend
  • 1
    partially, depends on how you test it. But i would say no in my case. I use mocks to test frontend and am not doing api calls.
  • 1
    @TeachMeCode me when my binary instructions need to be read off the disk and into the CPU (it’s not a unit test anymore): 😳
  • 1
    It’s as much of a unit test as my stress-test script that makes me cry every time I see the results
  • 0
    And end users are huge walking unit tests for frontend AND backend
Add Comment