Hacker News new | past | comments | ask | show | jobs | submit login

Is BDD = TDD? Or more like Acceptance Test?

To my understanding, we need both. As in, we need TDD for unit-level, and BDD/Acceptance Test (like Fit/FitNesse) for high-level.

Is this correct?

Pardon me if I'm not really high into these various testing technique other than TDD because

1) It's damn hard to make people even start writing Unit-tests let alone doing TDD

2) It's damn hard to make people do TDD

3) It's even harder to argue that some people are actually writing unit-tests as opposed to integration-tests (especially for those who uses NoSQL database)

4) We're not even at the point where we knew how to write good unit-tests (yes, we know some rule, for example, not touching the database, and so on, but I bet there are other better ways unexplored in regard to writing good unit-tests)

So with that in mind, I'll focus on one problem at a time. Once I feel that TDD is at the "proven level", then perhaps I'll check BDD.




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: