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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Ask HN: How to improve my automated testing skills?

3 点作者 virtualmic超过 7 年前
I understand the fundamentals of unit and integration testing. I try to use a balance of them in all code that I write. However, specially with languages such as python and JavaScript, I am constantly stressed about breaking the &quot;integration&quot; between functions at some boundary which isn&#x27;t being tested in my test suite, even though the suite has a high coverage.<p>I have recently subscribed to Destroy All Software screen-casts where the speaker does demonstrate some similar scenarios and tries to resolve them. Are there some similar books&#x2F; videos&#x2F; open source projects which I can refer to, to improve my testing process and suites?

1 comment

mjhea0超过 7 年前
Have you looked into e2e tests? They verify that the system works as expected - so they should catch those areas that you are not testing for in your unit and integrations tests.<p>Check out TestCafe. You can see an example of TestCafe in action with a React + Python&#x2F;Flask app -&gt; <a href="https:&#x2F;&#x2F;testdriven.io&#x2F;part-four-e2e-test-setup&#x2F;" rel="nofollow">https:&#x2F;&#x2F;testdriven.io&#x2F;part-four-e2e-test-setup&#x2F;</a>
评论 #15728810 未加载