Comment

Comment by bvirb

Same here. So much so we've basically just dropped "unit" testing in favor of integration testing. I guess we still call it TDD though.

I was actually surprised what the author was describing was somehow _not_ TDD. I thought it was pretty normal to try some things out, make some decisions, and then return to codifying those decisions in tests.

We do web app development, and 90% of our tests are browser-based integration tests that test whether the given inputs (usually forms) lead to the expected outputs (usually something printed on a web page).

I wonder if this is more natural when you're mostly writing integration tests?

parent bvirb 4 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton