TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Ask HN: Track Code Changes That Outdate Tutorials

3 点作者 fmyter大约 1 年前
Hey all,<p>So the issue I&#x27;m having is that we regularly need to check whether all our tutorials are still relevant compared to recent product updates. And I&#x27;ve had this issue in previous projects or at previous companies as well. I tried searching for some automatic solution but haven&#x27;t found anything (at all!). How do you check whether a new feature or product update requires changing or updating certain tutorials ?

1 comment

lovasoa大约 1 年前
You could have integration tests that reproduce what you show in tutorials. This way, when you need to change the tutorial, the integration test breaks, and you know you have to update both the test and the tutorial.
评论 #40002115 未加载