frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Executable specs: running Gherkin tests with Claude Code

https://github.com/mnapoli/exspec
1•mnapoli•1h ago

Comments

mnapoli•1h ago
The problem: coding accelerates, I can't keep up with tests. Either I review everything and we're not moving faster, either I don't and don't trust them

The idea: executable specs Write plain text tests, i.e. revive Cucumber/Behat (the "gherkin" language), BUT without the implementation step. AI run the tests in a browser, like human QA would.

I've been trying it out for 3 weeks:

1. serves as specs for new features 2. serves as acceptance criteria (Claude/Codex runs them after implementing) 3. serves as regression testing: run the full test suite every night

`npx exspec` runs Claude Code under the hood (with your existing Pro/Max subscription) with Playwright, all built-in. So using exspec is as easy as running PHPUnit/Pest/Vitest/… tests, nothing to install.

To be clear, it comes on top of unit tests, it doesn't replace them. It's great for covering happy paths and important business logic. It helps increase confidence, and also helps specifying new features.

I am cautious with letting AI "interpret" how to execute each step. But so far I'm pleasantly surprised : - Claude seems to respect the steps (and not fake it) - AI being very resilient, it's able to figure things out and recover (e.g. it needs to create a user but the email is already used -> no problem, it tries again with a different email address) - It uses the website UI and nothing else, it's like a human QA -> it cannot edit files, cannot touch the database, or run code - It reports failure with plenty of details, making it super easy to create issues from failures

I'm still careful and I want to scale up testing the idea, that's why I'm sharing publicly.

François Chollet: ARC-AGI-3, Beyond Deep Learning and a New Approach to ML [video]

https://www.youtube.com/watch?v=k2ZLQC8P7dc
1•mfiguiere•39s ago•0 comments

Alibaba's AI Agent Hijacked GPUs and Dug Reverse SSH Tunnels

https://grith.ai/blog/alibaba-rome-agent-hijacked-gpus-reverse-ssh-tunnels
2•edf13•2m ago•0 comments

QSCS Trust Layer – Why We Require Identity Before TLS

https://spooksystems.io/qscs-trust.html
1•danieljameslee•2m ago•0 comments

Internet Yiff Machine: We hacked 93GB of "anonymous" crime tips

https://arstechnica.com/security/2026/03/internet-yiff-machine-we-hacked-93gb-of-anonymous-crime-...
1•Brajeshwar•2m ago•0 comments

Far from home, migrant workers in the Gulf are trapped by war

https://text.npr.org/nx-s1-5745692
1•mooreds•2m ago•0 comments

Important Social Media Platforms in Europe and Russia

https://www.unitedlanguagegroup.com/learn/social-media-platforms-europe-russia
1•mooreds•3m ago•0 comments

Free Virtual Summit on AI Trust, Speakers from Truist, Google Cloud, USAA

https://www.bigeye.com/ai-trust-summit
1•adrianvidal•3m ago•0 comments

Hugshirt

https://cutecircuit.com/hugshirt/
1•mooreds•3m ago•0 comments

Waiting for Steve Jobs to invent iPhone cost me $4.7B dollars [video]

https://www.youtube.com/watch?v=nKF0sPTAnDU
1•MrSkelter•4m ago•0 comments

Lawfare Daily: How Two Intelligence Community Veterans View the Iran Conflict [video]

https://www.youtube.com/watch?v=nJy9dZhxBpU
1•verdverm•5m ago•0 comments

Alpha Equivalent Hash Consing with Thinnings

https://www.philipzucker.com/thin_hash_cons_codebruijn/
1•g0xA52A2A•5m ago•0 comments

China bans Manus founders from leaving country

https://www.euronews.com/next/2026/03/26/china-bans-manus-founders-from-leaving-country-after-met...
1•bodash•6m ago•0 comments

The 'AI slop' backlash kills Sora

https://www.computerworld.com/article/4150898/the-ai-slop-backlash-kills-sora.html
3•mikelgan•6m ago•1 comments

It's time to tax driverless cars

https://www.worksinprogress.news/p/its-time-to-tax-driverless-cars
2•pietergaricano•6m ago•0 comments

When smell meets VR: wearable olfactory device for a realistic VR experience

https://www.isct.ac.jp/en/news/s62rdyuwymlh
2•JeanKage•6m ago•0 comments

The White House App

https://apps.apple.com/us/app/the-white-house/id6759938088
4•keepamovin•7m ago•0 comments

Ask HN: What's the best advice your would tell your 20 year old self?

2•chistev•8m ago•0 comments

Show HN: I block LLM hallucinations with a cognitive math framework(re!Think it)

https://github.com/RealEgor/re-think_protocol/blob/main/ESSAY_en.md
2•Real_Egor•9m ago•0 comments

Accessible UML Diagrams

https://www.ragman.net/musings/accessible-uml/
2•HotGarbage•12m ago•0 comments

Using Abstract Syntax Trees to Turn Cloudflare Workflows Code into Diagrams

https://blog.cloudflare.com/workflow-diagrams/
2•calrizien•13m ago•0 comments

Meet Billie, Your AI Business Analyst [video]

https://www.youtube.com/watch?v=srG5Ze7mS7s
2•Edmond•15m ago•0 comments

Google's TurboQuant AI-compression algorithm can reduce LLM memory usage by 6x

https://arstechnica.com/ai/2026/03/google-says-new-turboquant-compression-can-lower-ai-memory-usa...
2•gmays•15m ago•0 comments

Show HN: 4K AI Only Black Wallpapers No Ads Free

https://bestblackwallpapers.com
2•askintml•16m ago•0 comments

Ask HN: In the current market, what signals work for getting a SWE job?

2•rishabhaiover•16m ago•0 comments

Reassessing boreal wildfire drivers enables high-resolution mapping of emissions

https://www.science.org/doi/10.1126/sciadv.adw5226
2•PaulHoule•16m ago•0 comments

Stupid Mac Tricks [pdf]

https://vintageapple.org/macbooks/pdf/Stupid_Mac_Tricks_1990.pdf
2•structuredPizza•16m ago•0 comments

Spotify seeks $300M from Anna's Archive, which ignores all court proceedings

https://arstechnica.com/tech-policy/2026/03/spotify-lawsuit-tries-to-kick-annas-archive-off-the-w...
4•Brajeshwar•17m ago•0 comments

Prediction Markets Scaled to USD 21B in Monthly Volume in 2026

https://www.trmlabs.com/resources/blog/how-prediction-markets-scaled-to-usd-21b-in-monthly-volume...
1•inaros•17m ago•0 comments

From paying $400 rent to building tools used by founders a journey worth knowing

https://snaprookies.org/blog/marc-lou-and-trustmrr-how-a-solo-founder-turned-trust-into-a-saas-asset
1•RichardOdds•22m ago•0 comments

Are H-1B Workers Displacing Americans with Cheaper Labor? [video]

https://www.youtube.com/watch?v=rHejoTTmWmI
1•bobosha•22m ago•2 comments