What are the downsides using random values in Unit Testing?

前端 未结 11 1379
不知归路
不知归路 2020-12-06 08:59

I\'m talking about a large scales system, with many servers and non deterministic input in high capacity. When i say non deterministic i\'m talking about messages that are s

11条回答
  •  有刺的猬
    2020-12-06 09:52

    The results aren't repeatable, and depending on your tests, you may not know the specific conditions which caused the code to fail (thus making it tough to debug).

提交回复
热议问题