NUnit unit testing intro
27/4/07 11:08Написал для товарища тут письмецо, и подумал - чего контенту пропадать, вывешу.
Initial info about unit tests is good enough in two docs in NUnut distribution.
Martin Fowler's "Refactoring" gives some very good ideas.
Another useful technique is "Mock objects". Articles are:
http://www.mockobjects.com/
http://www-128.ibm.com/developerworks/library/j-mocktest.html
First article on this: http://www.connextra.com/aboutUs/mockobjects.pdf
Book to read to become a guru.
Software to use.
NUnit's been a de facto standard for couple of years:
MSVS plugin making it easier
MS VS 2005 now has own unit testing tool.
Initial info about unit tests is good enough in two docs in NUnut distribution.
Martin Fowler's "Refactoring" gives some very good ideas.
Another useful technique is "Mock objects". Articles are:
http://www.mockobjects.com/
http://www-128.ibm.com/developerworks/library/j-mocktest.html
First article on this: http://www.connextra.com/aboutUs/mockobjects.pdf
Book to read to become a guru.
Software to use.
NUnit's been a de facto standard for couple of years:
MSVS plugin making it easier
MS VS 2005 now has own unit testing tool.
Tags:
(no subject)
27/4/07 11:52 (UTC)И TDD-разработка функции, считающей факториал наихудшим известным способом - достойное завершение этой... кхм... книги.
(no subject)
27/4/07 11:54 (UTC)Первая версия XP была "вообще без документации" - это раз.
Просрал проект в Крайслере - это два (искать документ "Extreme Programming considered harmful").
Пишет в попсовом маркетинговом стиле и позволяет себе сомнительные утверждения - три.
(no subject)
27/4/07 12:44 (UTC)А дальше да, работа на бабло.
(no subject)
27/4/07 13:05 (UTC)