c# - Test Driven Development and Unit Tests in .net -


ok, fresh .net developer, did in college, came out of college doing coldfusion work , have switched on new project in mvc3, using tdd, ef, whole 9 yards.

i trying wrap head around 1 issue tdd.

first off, understand it, tdd more of "design practice" actual way of merely writing unit tests before code?

mostly confused how unit testing , tdd coexist.

are tdd tests unit tests, or tdd tests way assist in designs , still use unit tests cover code?

anyone have thoughts?

tdd tests (but not always) unit tests. examples on non-unit tests may ui tests using waitin. simplest way of thinking tdd think of discipline of ensuring many of requirements (both business , technical requirements) possible expressed programatically, can consistently , regularly apply them codebase ensure still meeting req's make changes.

in practice, tends result in different (some argue better) patterns in architecture, towards decoupling allow modules tested in isolation. in more rigorous tdd environments, not uncommon develop test first (so fails), , develop code satisfy test. discipline ensures tests express intent of requirements.


Comments

Popular posts from this blog

linux - Using a Cron Job to check if my mod_wsgi / apache server is running and restart -

actionscript 3 - TweenLite does not work with object -

jQuery Ajax Render Fragments OR Whole Page -