frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

Open in hackernews

Why we dont like TDD

https://oneuptime.com/blog/post/2023-11-21-why-we-dont-like-tdd/view
2•ndhandala•2h ago

Comments

Fr3dd1•1h ago
I had quiet a ride myself with that topic. For years my opinion was, that I dont want to, as the auther here suggests as well, go with tdd as long as I dont know exactly what I need. Than I switched over and used tdd for everything with a more regid (interface) design upfront. Nowadays I use tdd from the integration side and only add unit tests later or case by case when I think its usefull. A really good ressource is "Growing Object-Oriented Software, Guided by Tests"
perrygeo•37m ago
> tdd from the integration side and only add unit tests later

This is where I've landed as well. Unit tests are for locking down the interface, preventing regressions, and solidifying the contract - none of which are appropriate for early stages of feature development. Integration tests are almost always closer to the actual business requirements and can prove direct value - ie only once the integration works, then lock it down with unit tests.

I've also toyed with a more radical idea: don't check your tests into the git repo. Or at least keep the developer tests separate from the automated tests. Think about it: what rule says that the tests used in development should go directly into the CI test suite? One is designed to help you navigate the creative process, the other is designed to prevent regressions. I think we do a disservice by conflating the two scenarios into one "testing" umbrella. During TDD, I need far more flexibility to redefine the shape of the tests (maybe it requires manual setup or expert judgement or ...) and I don't want to be hampered by a (necessarily) rigid CI system. Dev tests vs CI serve two completely different purposes.

Fr3dd1•2m ago
Interesting idea but what exactly is a dev test for you? And when does it qualify as a ci test?
FrankWilhoit•1h ago
Think of the reasons why we have to treat development as an iterative, experimental process. It is because we are disambiguating requirements that ought not be ambiguous. The value of TDD is as a stick to beat the business with: the proof that your requirements are not good enough is that there isn't enough information to write the tests.

Graphene-Like Material Could Boost Proton Therapy

https://spectrum.ieee.org/proton-therapy
1•rbanffy•3m ago•0 comments

HN: Solo founder building "GTM agent swarm" – anyone else?

1•johnathan_p•3m ago•0 comments

Show HN: Scoring dev work by how hard it is for AI to copy it

https://github.com/valdrox/devscorer
1•valdrox•4m ago•0 comments

Beyond the Logo: How We're Weaving Full Images Inside QR Codes

https://blog.nitroqr.com/beyond-the-logo-how-were-weaving-full-images-inside-qr-codes
1•bhasinanant•5m ago•0 comments

We still build with Ruby in 2025

https://www.getlago.com/blog/why-we-still-build-with-ruby-in-2025
1•FinnLobsien•6m ago•0 comments

Apple's Greed Is Finally Backfiring [video]

https://www.youtube.com/watch?v=JUG1PlqAUJk
1•01-_-•6m ago•0 comments

UK drafts AI to help Joe Public decipher its own baffling bureaucracy

https://www.theregister.com/2025/08/18/ai_form_fillers/
1•rntn•6m ago•0 comments

Astrophysical Classics: Hanbury Brown and Twiss Measure the Size of Sirius

https://astrobites.org/2025/08/14/hanburybrowntwiss/
1•sohkamyung•9m ago•0 comments

ZFS scrubs check (much) less than you probably think they do (2018)

https://utcc.utoronto.ca/~cks/space/blog/solaris/ZFSScrubLimitsII
2•susam•9m ago•0 comments

Show HN: Portfolio analytics for crypto that go beyond tracking

https://www.coiniq.io/
1•dudeseriously•9m ago•0 comments

Gaussian Processes for Machine Learning [pdf]

https://gaussianprocess.org/gpml/chapters/RW.pdf
1•susam•11m ago•0 comments

Show HN: Strudel Flow, a pattern sequencer built with Strudel and React Flow

https://github.com/xyflow/strudel-flow
1•moklick•13m ago•0 comments

Show HN: Typed-arrow – compile‑time Arrow schemas for Rust

https://github.com/tonbo-io/typed-arrow
1•ethegwo•14m ago•0 comments

Mutually Attacking Knights Placements

https://susam.net/mutually-attacking-knights.html
1•susam•15m ago•0 comments

Does 3I/Atlas Generate Its Own Light? (Avi Loeb)

https://avi-loeb.medium.com/does-3i-atlas-generate-its-own-light-e9775594afc5
2•ryandvm•16m ago•0 comments

Intel Foundry Demonstrates First Arm-Based Chip on 18A Node – HotHardware

https://hothardware.com/news/intel-foundry-demos-deer-creek-falls-reference-soc
2•rbanffy•17m ago•0 comments

Those who stay will be champions

https://tombrady.com/posts/those-who-stay-will-be-champions
2•marc__1•17m ago•0 comments

Inner speech in motor cortex and implications for speech neuroprostheses

https://www.cell.com/cell/fulltext/S0092-8674(25)00681-6
1•codetostory•19m ago•0 comments

Book News for the 33rd week of 2025, August 11th-August 17th

https://comuniq.xyz/post?t=158
1•01-_-•22m ago•0 comments

Webstrates: A Platform for Modern Computational Media

https://webstrates.net/
1•thunderbong•22m ago•0 comments

Show HN: Extension to Replace AI With :duck:

https://github.com/jackdoe/ai-to-duck
2•jackdoe•22m ago•0 comments

Show HN: Rankl – A Daily Search-Term Ranking Game

https://rankl.gg/
1•mxschll•23m ago•0 comments

SpaceX reveals why the last two Starships failed as another launch draws near

https://arstechnica.com/space/2025/08/spacex-reveals-why-the-last-two-starships-failed-as-another-launch-draws-near/
1•rbanffy•24m ago•0 comments

LLM Benchmarks on Company Data

https://github.com/apistemic/benchmarks
1•lorey•25m ago•0 comments

Show HN: ImageEnhance Pro – Professional AI image enhancement tool

https://imageenhance.pro
1•dahuangf•25m ago•0 comments

Stacks of Cash

https://www.newyorker.com/news/fault-lines/stacks-of-cash
4•PaulHoule•25m ago•0 comments

Nvidia CUDA Quantum

https://github.com/NVIDIA/cuda-quantum
1•tzury•27m ago•0 comments

Will AI code generation kill or elevate software craftsmanship?

https://www.therubyaipodcast.com/2388930/episodes/17655188-roasting-ruby-ai-workflows-with-obie-fernandez
2•codenamev•28m ago•1 comments

Rules Before Tools: Why Most AI Strategies Fail

https://boxofamazing.substack.com/p/rules-before-tools
1•rhirji•28m ago•1 comments

Show HN: A relatively fast ASCII video player in terminal (with colors support)

https://github.com/minhcrafters/ascii-rs
1•minhcrafters•31m ago•0 comments