On Writing Software Well #5: Testing without test damage or excessive isolation.

فرامرز
منتشر شده در 09 اسفند 1396

In which I show how we test models that are still attached to databases and controllers that still render full views AND talk to the databases. Isolation of tests is not a particular virtue you need to optimize for. Mocks and stubs are necessary evils when talking to external services in some cases, but you rarely need them within the boundaries of your own app.


Some related links to the "TDD is dead" discussion:

دیدگاه کاربران