Testing

From ym2149.org
Revision as of 20:52, 20 March 2024 by Andrzej (talk | contribs) (Created page with "* manual testing is a terrible use of resource, invest in automated testing whenever possible * unit tests are supposed to be fast so developers can run them frequently without getting bored * your mocking is dysfunctional if it involves writing things twice * unit tests are for verifying behaviour and enforcing it * an integration test can be used to check the parts unit tests can't reach, in particular that the service can communicate with its immediately adjacent serv...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search
  • manual testing is a terrible use of resource, invest in automated testing whenever possible
  • unit tests are supposed to be fast so developers can run them frequently without getting bored
  • your mocking is dysfunctional if it involves writing things twice
  • unit tests are for verifying behaviour and enforcing it
  • an integration test can be used to check the parts unit tests can't reach, in particular that the service can communicate with its immediately adjacent services