mogoh@lemmy.ml to Programmer Humor@lemmy.ml · 1 month agoDocker Buildinglemmy.mlimagemessage-square47linkfedilinkarrow-up11arrow-down10
arrow-up11arrow-down1imageDocker Buildinglemmy.mlmogoh@lemmy.ml to Programmer Humor@lemmy.ml · 1 month agomessage-square47linkfedilink
minus-squareqaz@lemmy.worldlinkfedilinkEnglisharrow-up0·1 month agoWhy not? Why doesn’t the programmer want to test a container?
minus-squaredavel [he/him]@lemmy.mllinkfedilinkEnglisharrow-up0·1 month agoTrue. Nothing beats running your unit tests in the actual container image that will be run in production.
minus-squareBjörn Tantau@swg-empire.delinkfedilinkarrow-up0·1 month agoI mean, isn’t that kind of the point of containers? To basically have the same environment everywhere.
minus-squareHiddenLayer555@lemmy.mllinkfedilinkEnglisharrow-up0·edit-21 month agoRace condition that only happens on the much faster production hardware: Allow me to introduce myself
minus-squaredavel [he/him]@lemmy.mllinkfedilinkEnglisharrow-up0·1 month agoUnit 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.
minus-squareQaz@lemmy.mllinkfedilinkEnglisharrow-up0·1 month agoOr an issue that only appears when using ARM and not on my AMD64 dev machine
minus-squareqaz@lemmy.worldlinkfedilinkEnglisharrow-up0·1 month agoYeah, and it’s useful to just check everything so you don’t forget to add some essential system package for e.g. SSL, especially when working with Alpine.
Why not? Why doesn’t the programmer want to test a container?
True. Nothing beats running your unit tests in the actual container image that will be run in production.
I mean, isn’t that kind of the point of containers? To basically have the same environment everywhere.
Race condition that only happens on the much faster production hardware: Allow me to introduce myself
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.
Or an issue that only appears when using ARM and not on my AMD64 dev machine
Yeah, and it’s useful to just check everything so you don’t forget to add some essential system package for e.g. SSL, especially when working with Alpine.