TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Signs you are doing continuous testing wrong

34 pointsby jhibbetsover 6 years ago

2 comments

macca321over 6 years ago
&#x27;Test Pyramid&#x27; considered harmful IMO. It discourages people from writing tests against the public interface of their system , and instead encourages testing against internals.<p>This leads to a test pack that prevents refactoring, and can&#x27;t be trusted to catch regression errors.<p>This is partly down to the widely confused definition of a &#x27;unit test&#x27; (which a lot of people interpret as &#x27;one test per class&#x27;).<p>If you haven&#x27;t seen it, please watch Ian Cooper&#x27;s &quot;TDD, Where Did It All Go Wrong&quot; <a href="https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=EZ05e7EMOLM" rel="nofollow">https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=EZ05e7EMOLM</a><p>Also, I thought continuous testing was having your test pack run all the time while coding, but hey ho.
评论 #18401281 未加载
nobody271over 6 years ago
I like test recorders (Selenium IDE). They aren&#x27;t brittle if you manually enter your selectors. Plus you can hook a test recorder up to your own code to fill in any gaps. I do wish they showed mouse movement, though.<p>One I&#x27;d like to add is to keep it simple. When I hear the word pipeline I immediately think &quot;oh no&quot;. I&#x27;m telling you man, some shops add a mind blowing amount of unneeded complexity with their pipelines.
评论 #18401023 未加载