frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

A new era for software testing

https://antirez.com/news/168
57•Chrisszz•4d ago

Comments

wrxd•4d ago
I believe this can work if done on top of traditional testing. I would feel very uneasy to replace deterministic (ok, not always but mostly) test suites with something that is not deterministic at all
simianwords•4d ago
I think this is just TDD or unit test dogma and I’m personally not a fan.

Unit tests and deterministic tests are hard to get right and need to be done at the correct boundary.

I have seen many people dogmatically pushing unit tests religiously but this often leads to very hard to maintain tests that mostly exist just to change along with the main code itself.

A good way to understand if your unit tests are good: are you changing them along with changing your actual code? Then it’s a bad test. I think the argument for “it’s just documentation” is weak.

fcarraldo•4d ago
I don’t disagree with your point, but there is still value in having unit tests that change along with the code. It’s less than a “proper” test, but when these tests break _unexpectedly_, it’s still more signal than you’d have without them. Like, always changing `file.go` alongside `file_test.go` may be acceptable if you catch errors that impact `serve_test.go` unexpectedly.

Of course, if you’re just watching Claude changing both and saying “LGTM” then it’s not very valuable.

simianwords•4d ago
Scenario testing is the new word for it and I think this is a game changer.

Two of the reasons I never liked writing tests is

- they didn’t seem to usually assert much internal logic

- they would have to be maintained along with the original code

I think scenario testing is much better instead because the actual way a person uses a feature hardly changes but the internals might change a lot.

So imagine I’m making an e-commerce website. There are lots of internal mechanisms. I’ll have an agent testing all the functionalities as if it were a customer. This gives me much much more confidence while writing code because it is more uncorellated with the code.

Tomorrow I can change a lot of internals but the testing agent stays the same.

There’s something to note though: not all code is possible to be scenario tested. Like data engineering and other things where the feedback time is huge.

hulitu•2d ago
> Two of the reasons I never liked writing tests

Are you an engineer ? You must test your "creation". Or would you expect that the microwave owen you just bougth will be tested by your child while getting burned ?

robotresearcher•1h ago
'I never liked writing tests' is not the same as 'I don't write tests'.
anthonypasq•1h ago
are we just re-inventing playwright tests except 10x slower and infinity times more expensive?

i feel like im going insane

hugs•39m ago
since the rise of agentic coding tools, it feels like we're in a new "eternal september" of people discovering ui end-to-end test automation.
rglover•42m ago
> I have the feeling that the introduction of automatic QA may raise the bar of quality for new releases of software, and maybe partially compensate for the lower quality of the code produced at high speed with the use of automatic programming.

In theory. The only difference between today and "the aughts" is that we have machines that can spit out a ton of code very quickly.

Nothing has changed about the discipline or honesty around testing (you can skip automated tests even faster now if you wish). You can and should work with AI to write tests, but you have to know the difference between a good test and a "looks good on paper" test in order for it to truly be effective and raise the quality of what you're building.

mlmonkey•39m ago
Writing unit tests used to be the bane of my existence. I used to hate them. Often times, the LoC for unit tests was 3X the LoC of the actual code.

But not any more! Now I point the LLM to the code and order it to write unit tests, covering all edge cases, etc. I'd rather spend 3 hours arguing with the LLM than writing unit tests! :-D

inigyou•27m ago
People are rediscovering everything. Some people have proposed using a more formal language to tell the AI precisely what code to write. That's a compiler.
acdha•20m ago
Also the merits of documentation and specs. It’s been eye-opening to see the subset of developers who were almost disdainful about writing documentation for their colleagues but are now tripping over themselves to do so for their clanker.
konart•1h ago
>Scenario testing is the new word

How is scenario different from a behavior (as in Behavior-Driven Development)?

Gherkin and things like Cucumber are not something new, are they?

Show HN: Homebrew 6.0.0

https://brew.sh/2026/06/11/homebrew-6.0.0/
291•mikemcquaid•5h ago•68 comments

MiMo Code is now released and open-source

https://mimo.xiaomi.com/mimocode
280•apeters•4h ago•149 comments

Software Is Made Between Commits

https://zed.dev/blog/introducing-deltadb
79•jeremy_k•2h ago•45 comments

Petition to Withdraw Canada's Bill C-22

https://www.ourcommons.ca/petitions/en/Petition/Sign/e-7416
126•hmokiguess•2h ago•46 comments

The RCE that AMD wouldn't fix

https://mrbruh.com/amd2/
88•MrBruh•2h ago•32 comments

Emacs appearances in pop culture

https://ianyepan.github.io/posts/emacs-in-pop-culture/
101•ggcr•1d ago•6 comments

Lines of code got a better publicist

https://curlewis.co.nz/posts/lines-of-code-got-a-better-publicist/
286•RyeCombinator•6h ago•186 comments

Waymo Premier

https://waymo.com/blog/2026/06/waymo-premier/
48•boulos•2h ago•81 comments

Solar generates more energy in US than coal for first time

https://www.theguardian.com/us-news/2026/jun/11/solar-energy-us-coal
212•neilfrndes•2h ago•78 comments

Open Reproduction of DeepSeek-R1

https://github.com/huggingface/open-r1
136•yogthos•5h ago•14 comments

Pokémon Go Scans Trained the Navigation Tech for Military Drones

https://dronexl.co/2026/06/09/pokemon-go-scans-niantic-vantor-military-drone-navigation/
615•vrganj•11h ago•284 comments

FPS.cob: A first person shooter in COBOL

https://github.com/icitry/FPS.cob
66•MBCook•3h ago•30 comments

Developer gets Half-Life running at 30 FPS on a Nokia N95

https://www.tomshardware.com/video-games/handheld-gaming/developer-gets-half-life-running-at-30-f...
77•ljf•2d ago•24 comments

macOS 27 Beta breaks the ability to boot Asahi Linux

https://www.phoronix.com/news/macOS-27-Beta-Breaks-Asahi
86•josephcsible•2d ago•32 comments

Discovery of Cold War-era rare Eastern Bloc computers in a German hangar

https://computerhistory.org/stories/explorers-of-the-lost-computers/
51•andrewstuart•4d ago•8 comments

Anthropic apologizes for invisible Claude Fable guardrails

https://www.theverge.com/ai-artificial-intelligence/948280/anthropic-claude-fable-invisible-disti...
175•rarisma•6h ago•178 comments

Fully autonomous drones have killed human soldiers for the first time

https://www.newscientist.com/article/2529849-fully-autonomous-drones-have-killed-human-soldiers-f...
74•deadgopher•1d ago•51 comments

How Terry Tao became an evangelist for AI in math

https://www.quantamagazine.org/how-terry-tao-became-an-evangelist-for-ai-in-math-20260608/
58•Tomte•3d ago•28 comments

Nextcloud Hub 26 Spring: Built together, designed for the future

https://nextcloud.com/blog/nextcloud-hub26-spring/
100•doener•4h ago•71 comments

Reading for pleasure is sharply down among schoolkids, report shows

https://www.nbcnews.com/data-graphics/kids-reading-less-lower-levels-department-education-study-r...
42•freejoe76•1d ago•28 comments

Show HN: Claw Patrol, a security firewall for agents

https://github.com/denoland/clawpatrol
40•rough-sea•2d ago•13 comments

Programming a GBA Game on an iPhone

https://blog.adamledoux.net/posts/2026-06-08-programming-a-gba-game-on-an-iphone.html
6•akkartik•1d ago•0 comments

Vinyl succumbs to Loudness War: more than just collateral damage (2025)

https://magicvinyldigital.net/2025/04/27/vinyl-succumbs-to-loudness-war-more-than-just-collateral...
43•sneela•5d ago•16 comments

MapComplete: Maps about various topics which you can contribute to

https://mapcomplete.org/
151•GTP•4h ago•27 comments

SVG-Line: Better Status Bars for Emacs – Charlie Holland's Blog

https://www.chiply.dev/post-svg-line
56•rbanffy•2d ago•4 comments

Queues Don't Fix Overload (2014)

https://ferd.ca/queues-don-t-fix-overload.html
40•locknitpicker•2d ago•23 comments

A new era for software testing

https://antirez.com/news/168
58•Chrisszz•4d ago•15 comments

Show HN: A police department for your Claude Code agents

https://github.com/varmabudharaju/agent-pd/blob/master/README.md
3•softie123•44m ago•1 comments

Global population movements from 1990 to 2023

https://www.nature.com/articles/d41586-026-01796-y
73•tzury•7h ago•66 comments

Doing nothing at work

https://www.seangoedecke.com/doing-nothing-at-work/
189•Sukram21•3d ago•43 comments