you are viewing a single comment's thread
view the rest of the comments
[–] 15 points 1 year ago (6 children)

True. Nothing beats running your unit tests in the actual container image that will be run in production.

  • source
  • parent
  • hideshow 6 child comments
  • [–] 9 points 1 year ago* (2 children)

    Race condition that only happens on the much faster production hardware: Allow me to introduce myself

  • source
  • parent
  • hideshow 2 child comments
  • [–] 7 points 1 year ago

    Unit tests can’t win ’em all. That’s where things like integration tests, staging environments, and load testing come in.

    The final layer of protection is the deployment strategy, be it rolling, canary, or blue-geen.

  • source
  • parent
  • [–] 1 point 1 year ago

    Unit tests? No matter where you run them, and normally this is done by CI in a prebuilt container image, so you don't have to wait for "docker building". Acceptance tests must be run in an environment as close to production as possible, but that's definitely not a programmer's job.

  • source
  • parent