Search code examples
unit-testingfunctional-testing

What is the right balance between unit vs. functional testing in a typical web application?


Unit tests are cheaper to write and maintain, but they don't cover all scenarios. What is the right balance between them?


Solution

  • I like Brian Marick's quadrant on automated tests where the distinctions are business vs. technology facing and support programming vs. critique product.

    With that framework the question of balance becomes, what do I need right now?