{"slug": "ask-hn-do-your-tests-clear-if-the-tests-pass-you-cannot-break-the-code-bar", "title": "Ask HN: Do your tests clear \"If the tests pass, you cannot break the code\" bar?", "summary": "A Hacker News user asks whether developers' test suites meet the standard that passing tests guarantees code cannot break, sharing that they have found AI tools to work flawlessly when this bar is met and that they invest more time in testing than any other part of the codebase.", "body_md": "| ||||||||||||\n1 point by |\nWhy or why not? This is how I have found AI to be very powerful. If my tests pass, I know my code won't break. I spend more time on tests than any other part of the code-base. I am curious who else is building in this manner? I use the statement in the title because I feel that is the bar you have to meet to get the AI to work well, but once you meet that bar lately it has been working pretty flawlessly for me. | |||||||||||\n|", "url": "https://wpnews.pro/news/ask-hn-do-your-tests-clear-if-the-tests-pass-you-cannot-break-the-code-bar", "canonical_source": "https://news.ycombinator.com/item?id=48878448", "published_at": "2026-07-12 05:08:40+00:00", "updated_at": "2026-07-12 05:35:06.484685+00:00", "lang": "en", "topics": ["developer-tools", "ai-tools"], "entities": [], "alternates": {"html": "https://wpnews.pro/news/ask-hn-do-your-tests-clear-if-the-tests-pass-you-cannot-break-the-code-bar", "markdown": "https://wpnews.pro/news/ask-hn-do-your-tests-clear-if-the-tests-pass-you-cannot-break-the-code-bar.md", "text": "https://wpnews.pro/news/ask-hn-do-your-tests-clear-if-the-tests-pass-you-cannot-break-the-code-bar.txt", "jsonld": "https://wpnews.pro/news/ask-hn-do-your-tests-clear-if-the-tests-pass-you-cannot-break-the-code-bar.jsonld"}}