Test-driven development: Difference between revisions

Content deleted Content added
Licriss (talk | contribs)
Code visibility: Moved content related to visibility of unit tested code to the unit testing article, replaced with summary of relevance and link
Licriss (talk | contribs)
Code visibility: Fix link to unit testing section
Line 69:
 
===Code visibility===
{{Main|Unit testingUnit_testing#Code visibilityCode_Visibility}}
In test-driven development, writing tests before implementation raises questions about testing [[access modifiers|private methods]] versus testing only through [[Interface (computing)|public interfaces]]. This choice affects the design of both test code and production code.