← 返回技术雷达
Hacker News tech

Deterministic Simulation Testing Is for Everyone

Hacker News 热议:Deterministic Simulation Testing Is for Everyone(62 赞 / 7 评论,来源 outdata.net)

一句话概要

Making the case for Deterministic Simulation Testing as a general purpose technique.

原文开头节选

Deterministic Simulation Testing is often seen as a technique just for distributed systems. I argue that it’s a testing technique for everyone and all applications.

We test because we want to find issues internally and not have them be found for us by users (who may not even report them at all).

We do this reactively ; when an implementation bug is found, a failing test we think corresponds to the bug is written, and the system is changed to make the test pass. If the bug can no longer be reproduced, we have proven to ourselves that the test corresponds to the bug, and we keep the test to guard against further regressions.

We can also do this defensively ; predicting where and what the bugs might be, and using tests as guardrails ensuring they do not occur in development.

(以上为原文节选,完整内容见下方”原文来源”)

这条动态今日登上 Hacker News 首页(62 赞 / 7 评论,来源 outdata.net)。技术雷达每日自动聚合 AI 工程、后端架构、DevOps 方向的前沿动态;相关工程落地可浏览下方的相关服务与延伸阅读,或直接与我们团队交流。

原文来源: Hacker News

相关服务

相关阅读