Frequently-asked TDD questions

When should I use integration tests vs unit tests?

Read this high level guidance from @jferris. (If you get a 404, make sure you’ve gotten access to Ruby Science already.)

Do I need to test controllers that are covered by integration tests?

Not usually.

What do the various test types (functional, unit, integration, component, smoke, etc) mean?

Joe gives some guidance.

1 Like

This topic is now pinned. It will appear at the top of its category until it is either unpinned by a moderator, or the Clear Pin button is pressed.

Have you seen a TDD-related question that seems to confuse a lot of people? Mention it here and I’ll add an answer for it to the FAQ.

I’m getting a 404 from both the “high level guidance” and the “gotten access to Ruby Science” links. Is it still possible to view this overview?

Sorry, but no. Ruby Science is now a separate product outside Upcase.